This commit is contained in:
@@ -8,6 +8,12 @@ import controller
|
||||
|
||||
|
||||
class ControllerTests(unittest.TestCase):
|
||||
def test_list_images_accepts_null_for_an_empty_account(self):
|
||||
client = controller.AutoDLClient("test-token")
|
||||
client.request = lambda method, path, body: {"list": None}
|
||||
|
||||
self.assertEqual(client.list_images(), [])
|
||||
|
||||
def test_runner_release_is_pinned(self):
|
||||
self.assertEqual(controller.RUNNER_VERSION, "3.5.0")
|
||||
self.assertEqual(len(controller.RUNNER_SHA256), 64)
|
||||
|
||||
Reference in New Issue
Block a user