PEP fixes

This commit is contained in:
Oliver Walters 2020-05-16 21:15:14 +10:00
parent a17ab9bfbd
commit d6a56da441
2 changed files with 3 additions and 3 deletions

View File

@ -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
)
)

View File

@ -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())