Skip to content

Instantly share code, notes, and snippets.

@collinanderson
Created January 16, 2015 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save collinanderson/0d06a5832aae1ac7b24b to your computer and use it in GitHub Desktop.
Save collinanderson/0d06a5832aae1ac7b24b to your computer and use it in GitHub Desktop.
FAIL: test_get_fields_error_when_apps_not_ready (model_meta.tests.GetFieldByNameTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/collin/django1.8/tests/model_meta/tests.py", line 186, in test_get_fields_error_when_apps_not_ready
opts.get_field('some_missing_field')
AssertionError: "Person\ has\ no\ field\ named\ \'some\_missing\_field\'\.\ The\ app\ cache\ isn\'t\ ready\ yet\,\ so\ if\ this\ is\ an\ auto\-created\ related\ field\,\ it\ might\ not\ be\ available\ yet\." does not match "Person has no field named 'some_missing_field'. The app cache isn't ready yet, so if this is an auto-created related field, it may not be available yet."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment