Sfoglia il codice sorgente

Only pull ubuntu:latest in tests

Might stop Travis running out of disk space.
Ben Firshman 11 anni fa
parent
commit
ddf6819a75
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tests/testcases.py

+ 1 - 1
tests/testcases.py

@@ -10,7 +10,7 @@ class DockerClientTestCase(unittest.TestCase):
     @classmethod
     def setUpClass(cls):
         cls.client = Client(docker_url())
-        cls.client.pull('ubuntu')
+        cls.client.pull('ubuntu', tag='latest')
 
     def setUp(self):
         for c in self.client.containers(all=True):