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
When I want to use FastFixtureTestCase and run ./manage.py test --with-fixture-bundling I face this error:
Creating test database for alias 'default'...
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
utility.execute()
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django/core/management/__init__.py", line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django/core/management/commands/test.py", line 30, in run_from_argv
super(Command, self).run_from_argv(argv)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django/core/management/commands/test.py", line 74, in execute
super(Command, self).execute(*args, **options)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django/core/management/base.py", line 399, in execute
output = self.handle(*args, **options)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django/core/management/commands/test.py", line 90, in handle
failures = test_runner.run_tests(test_labels)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django_nose/runner.py", line 303, in run_tests
result = self.run_suite(nose_argv)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django_nose/runner.py", line 241, in run_suite
addplugins=plugins_to_add)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/nose/core.py", line 121, in __init__
**extra_args)
File "//anaconda/envs/lyan/lib/python3.5/unittest/main.py", line 94, in __init__
self.runTests()
File "//anaconda/envs/lyan/lib/python3.5/site-packages/nose/core.py", line 207, in runTests
result = self.testRunner.run(self.test)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/nose/core.py", line 50, in run
wrapper = self.config.plugins.prepareTest(test)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/nose/plugins/manager.py", line 99, in __call__
return self.call(*arg, **kw)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/nose/plugins/manager.py", line 167, in simple
result = meth(*arg, **kw)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django_nose/plugin.py", line 262, in prepareTest
test = self._bundle_fixtures(test)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django_nose/plugin.py", line 256, in _bundle_fixtures
return suite_sorted_by_fixtures(test)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django_nose/plugin.py", line 222, in suite_sorted_by_fixtures
process_tests(suite, bucketer.add)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django_nose/utils.py", line 36, in process_tests
process_tests(t, process)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django_nose/utils.py", line 33, in process_tests
process(suite)
File "//anaconda/envs/lyan/lib/python3.5/site-packages/django_nose/plugin.py", line 114, in add
key = (frozenset(getattr(test.context, 'fixtures', [])),
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered:
When I want to use
FastFixtureTestCase
and run./manage.py test --with-fixture-bundling
I face this error:The text was updated successfully, but these errors were encountered: