Fixed test data not to conflict with fixture
Changed the factories not to create objects if they already exist. Also renamed various test data to have names that don't conflict with the fixtures,
Showing
- django/website/rest_api/tests/categorize_items_tests.py 9 additions, 3 deletionsdjango/website/rest_api/tests/categorize_items_tests.py
- django/website/rest_api/tests/taxonomy_and_term_create_tests.py 27 additions, 16 deletions.../website/rest_api/tests/taxonomy_and_term_create_tests.py
- django/website/taxonomies/tests/factories.py 2 additions, 1 deletiondjango/website/taxonomies/tests/factories.py
Please register or sign in to comment