mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
a17ab9bfbd
commit
d6a56da441
@ -1113,11 +1113,11 @@ class StockItemTestResult(models.Model):
|
||||
|
||||
user = models.ForeignKey(
|
||||
User,
|
||||
on_delete = models.SET_NULL,
|
||||
on_delete=models.SET_NULL,
|
||||
blank=True, null=True
|
||||
)
|
||||
|
||||
date = models.DateTimeField(
|
||||
auto_now_add=True,
|
||||
editable=False
|
||||
)
|
||||
)
|
||||
|
@ -430,4 +430,4 @@ class TestResultTest(StockTest):
|
||||
self.assertEqual(len(result_map), 3)
|
||||
|
||||
for test in ['Firmware Version', 'Settings Checksum', 'Temperature Test']:
|
||||
self.assertIn(test, result_map.keys())
|
||||
self.assertIn(test, result_map.keys())
|
||||
|
Loading…
Reference in New Issue
Block a user