I am facing some issues while fixtures loading while running testcases. The 
error is 

app_name.models.company.CompanyModel.DoesNotExist: Problem installing 
fixture '/Users/xyz/Documents/temp/testdir/random/fixtures/product.json': 
XYZModel matching query does not exist.

1. Earlier, there was no issue while loading fixtures.
2. Testcases were running fine.
3. Not all testcases are breaking.
4. Only some testcases are throwing this error.
5. Fixture of XYZModel is valid and tried and tested by using the loaddata 
command.
6. FK of XYZModel instance in product.json is also valid.


Stuck with this problem last few hours.


Any help or suggestions would be appreciated.


Thanks
Jatin Agrawal

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/73b44bd5-91b1-4105-ba2a-fe65110f06f2n%40googlegroups.com.

Reply via email to