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:
@@ -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 """
|
||||
|
Reference in New Issue
Block a user