Removed requirements for python-dateutil for test/compute/test-nttcis.py
authormitch <mitch.raful@itaas.dimensiondata.com>
Thu, 6 Dec 2018 17:07:54 +0000 (12:07 -0500)
committermitch <mitch.raful@itaas.dimensiondata.com>
Thu, 6 Dec 2018 17:07:54 +0000 (12:07 -0500)
libcloud/test/compute/test_nttcis.py
tox.ini

index dac4226..8122317 100644 (file)
@@ -1880,7 +1880,7 @@ def test_get_drs_snapshots_by_min_max(driver):
         create_time_min="2018-11-28T00:00:00.000Z",
         create_time_max="2018-11-29T00:00:00.000Z")
     for snap in snaps.snapshot:
-        assert (parse(snaps.snapshot[0].createTime) < parse(snap.createTime)) is False
+        assert "2018-12" not in snap
 
 
 def test_get_drs_snapshots_by_min(driver):
diff --git a/tox.ini b/tox.ini
index 7485e61..1f89719 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -7,7 +7,6 @@ deps =
     -r{toxinidir}/requirements-tests.txt
     lockfile
     pyopenssl
-    python-dateutil
     libvirt-python==4.0.0
     py2.7: paramiko
 commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
@@ -30,7 +29,7 @@ commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
            python -m unittest discover libcloud/test
 
 [testenv:docs]
-deps = pysphere
+deps = pyspher
        backports.ssl_match_hostname
        lockfile
        rstcheck