libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [11/21] libcloud git commit: Removed requirements for python-dateutil for test/compute/test-nttcis.py
Date Wed, 19 Dec 2018 05:34:13 GMT
Removed requirements for python-dateutil for test/compute/test-nttcis.py


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/484855d4
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/484855d4
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/484855d4

Branch: refs/heads/trunk
Commit: 484855d41a5f967b1d86327448fce93751881f52
Parents: 46096c4
Author: mitch <mitch.raful@itaas.dimensiondata.com>
Authored: Thu Dec 6 12:07:54 2018 -0500
Committer: mitch <mitch.raful@itaas.dimensiondata.com>
Committed: Thu Dec 6 12:07:54 2018 -0500

----------------------------------------------------------------------
 libcloud/test/compute/test_nttcis.py | 2 +-
 tox.ini                              | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/484855d4/libcloud/test/compute/test_nttcis.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_nttcis.py b/libcloud/test/compute/test_nttcis.py
index dac4226..8122317 100644
--- a/libcloud/test/compute/test_nttcis.py
+++ b/libcloud/test/compute/test_nttcis.py
@@ -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):

http://git-wip-us.apache.org/repos/asf/libcloud/blob/484855d4/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 7485e61..1f89719 100644
--- 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


Mime
View raw message