2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 01:36:29 +00:00

More fixes

- Add a set of template tags for rendering status codes
- Improve build API filtering
- Remove some outdated files
- Fix unit testing
This commit is contained in:
Oliver Walters
2020-04-12 00:10:33 +10:00
parent 59778130cd
commit 7503596ea4
17 changed files with 94 additions and 116 deletions

View File

@@ -143,9 +143,7 @@ class TestBuildViews(TestCase):
content = str(response.content)
# Content should contain build titles
for build in Build.objects.all():
self.assertIn(build.title, content)
self.assertIn("Part Builds", content)
def test_build_detail(self):
""" Test the detail view for a Build object """