We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When testing with django's TestCase, after a test django is successfuly deleting all database entries. However this function is not being called.
TestCase
@receiver([post_save, post_delete], sender=NotificationType) def clear_notification_type_cache(*args, **kwargs): global _notification_type_cache print('CLEARNING NOTIFICATION TYPE CACHE', len(_notification_type_cache)) _notification_type_cache = {}
Calling this function manually works great to fix my tests, i'm not sure if there is a bug lurking around though...
The text was updated successfully, but these errors were encountered:
covered by https://github.com/benjaoming/django-nyt/issues/34
Sorry, something went wrong.
No branches or pull requests
When testing with django's
TestCase
, after a test django is successfuly deleting all database entries. However this function is not being called.Calling this function manually works great to fix my tests, i'm not sure if there is a bug lurking around though...
The text was updated successfully, but these errors were encountered: