Skip to content

Commit 2c30c02

Browse files
Merge pull request #264 from inventree/unit-test-fix-3
Unit test fix 3
2 parents bdc240f + 68d414a commit 2c30c02

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/test_label.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,8 @@ def test_label_print(self):
6464

6565
response = part.printLabel(template, plugin=plugin)
6666

67-
for key in ['created', 'model_type', 'complete', 'output', 'template', 'plugin']:
67+
for key in ['created', 'complete', 'output']:
6868
self.assertIn(key, response)
6969

7070
self.assertEqual(response['complete'], True)
71-
self.assertEqual(response['model_type'], 'part')
7271
self.assertIsNotNone(response['output'])
73-
self.assertEqual(response['template'], template.pk)
74-
self.assertEqual(response['plugin'], plugin.key)

0 commit comments

Comments
 (0)