Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#20291 closed New feature (duplicate)

Add method to reload `AppCache`

Reported by: vzima Owned by: nobody
Component: Testing framework Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Some tests require test application, e.g. proxy_model_inheritance. Adding test application is simple, but removing is not so simple.

I propose addition of new method which would clean caches and repopulate them.

def reload(self):
    # Clean cache
    # Mark cache is empty
    self.loaded = False
    # Populate cache again

Change History (4)

comment:1 Changed 2 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

I'm deeply skeptical that this'll actually work. The real answer here is the app-refactor work, which is still ongoing; this is effectively a duplicate of that.

comment:2 Changed 2 years ago by vzima

Is there a ticket for that? I can't find any relevant one.

comment:3 Changed 2 years ago by aaugustin

That's #3591.

comment:4 Changed 2 years ago by vzima


Note: See TracTickets for help on using tickets.
Back to Top