Advertisement
Guest User

tests

a guest
Jul 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. /usr/bin/python2.7 manage.py test
  2. Creating test database for alias 'default'...
  3. Traceback (most recent call last):
  4. File "manage.py", line 10, in <module>
  5. execute_from_command_line(sys.argv)
  6. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
  7. utility.execute()
  8. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
  9. self.fetch_command(subcommand).run_from_argv(self.argv)
  10. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 29, in run_from_argv
  11. super(Command, self).run_from_argv(argv)
  12. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/base.py", line 305, in run_from_argv
  13. self.execute(*args, **cmd_options)
  14. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/base.py", line 356, in execute
  15. output = self.handle(*args, **options)
  16. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 72, in handle
  17. failures = test_runner.run_tests(test_labels)
  18. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/test/runner.py", line 549, in run_tests
  19. old_config = self.setup_databases()
  20. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/test/runner.py", line 499, in setup_databases
  21. self.parallel, **kwargs
  22. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/test/runner.py", line 743, in setup_databases
  23. serialize=connection.settings_dict.get("TEST", {}).get("SERIALIZE", True),
  24. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/db/backends/base/creation.py", line 70, in create_test_db
  25. run_syncdb=True,
  26. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/__init__.py", line 130, in call_command
  27. return command.execute(*args, **defaults)
  28. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/base.py", line 356, in execute
  29. output = self.handle(*args, **options)
  30. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 202, in handle
  31. targets, plan, fake=fake, fake_initial=fake_initial
  32. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 97, in migrate
  33. state = self._migrate_all_forwards(plan, full_plan, fake=fake, fake_initial=fake_initial)
  34. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 132, in _migrate_all_forwards
  35. state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  36. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 237, in apply_migration
  37. state = migration.apply(state, schema_editor)
  38. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 119, in apply
  39. operation.state_forwards(self.app_label, project_state)
  40. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/db/migrations/operations/models.py", line 230, in state_forwards
  41. state.remove_model(app_label, self.name_lower)
  42. File "/home/pashawnn/.local/lib/python2.7/site-packages/django/db/migrations/state.py", line 96, in remove_model
  43. del self.models[app_label, model_name]
  44. KeyError: ('parkings', u'vendor')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement