blackened code

This commit is contained in:
Alok Saldanha
2020-08-30 13:38:35 -04:00
parent b689357f29
commit 9219336356
8 changed files with 27 additions and 13 deletions
+1
View File
@@ -9,5 +9,6 @@ class TestCacheEntry(unittest.TestCase):
entry = CacheEntry.for_key("some-key", 1)
self.assertEqual(entry.status, CacheEntryStatus.loading)
if __name__ == "__main__":
unittest.main()
+4 -4
View File
@@ -10,7 +10,7 @@ class TestRenderEntry(unittest.TestCase):
"path": "/somepath/",
"name": "entry",
"type": "file",
"annotations": []
"annotations": [],
}
rendered = render_entry(entry)
self.assertIn("view/somepath", rendered)
@@ -20,7 +20,7 @@ class TestRenderEntry(unittest.TestCase):
"path": "/somepath",
"name": "entry",
"type": "file",
"annotations": []
"annotations": [],
}
rendered = render_entry(entry)
self.assertIn("view/somepath", rendered)
@@ -30,7 +30,7 @@ class TestRenderEntry(unittest.TestCase):
"path": "somepath/",
"name": "entry",
"type": "file",
"annotations": []
"annotations": [],
}
rendered = render_entry(entry)
self.assertIn("view/somepath", rendered)
@@ -40,7 +40,7 @@ class TestRenderEntry(unittest.TestCase):
"path": "somepath",
"name": "entry",
"type": "file",
"annotations": []
"annotations": [],
}
rendered = render_entry(entry)
self.assertIn("view/somepath", rendered)