You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some tests that I'm trying to freeze time for, but when I decorate the test method, it is no longer found by django's test framework. Same deal when I decorate the class.
$ ./manage.py test app.TestClassName
Traceback (most recent call last):
...
ValueError: Test label 'app.TestClassName' does not refer to a test.
Without the decoration, the test is found (but fails, obviously).
I can freeze in .setUp() and thaw in .tearDown(), but the decorator syntax is nicer.
The text was updated successfully, but these errors were encountered:
I'm using django.
I have some tests that I'm trying to freeze time for, but when I decorate the test method, it is no longer found by django's test framework. Same deal when I decorate the class.
Without the decoration, the test is found (but fails, obviously).
I can freeze in
.setUp()
and thaw in.tearDown()
, but the decorator syntax is nicer.The text was updated successfully, but these errors were encountered: