summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-11-11 13:54:14 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-11-11 13:54:14 +0000
commit6ffe6b22124e8a4fe5265fc21f7eb6be919b4922 (patch)
treeb674f47228789d303d20846684ad9198f2d8a36b
parentce97654b73111f299b37cfa80c4cf3696abdf26c (diff)
downloadimport-6ffe6b22124e8a4fe5265fc21f7eb6be919b4922.tar.gz
add test for >= detection
-rwxr-xr-xexts/pip_find_deps_tests.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/exts/pip_find_deps_tests.py b/exts/pip_find_deps_tests.py
index 7b9c1be..f8bacb6 100755
--- a/exts/pip_find_deps_tests.py
+++ b/exts/pip_find_deps_tests.py
@@ -137,8 +137,11 @@ class ConflictDetectionTests(unittest.TestCase):
self.run_test_no_conflict(requirements)
self.run_test_no_conflict(reverse(requirements))
- #def test_greater_than_or_equal(self):
- # requirements = list(parse_requirements(['a' >= ]))
+ def test_greater_than_or_equal(self):
+ requirements = list(parse_requirements(['a >= 0.1', 'a == 0.1']))
+
+ self.run_test_no_conflict(requirements)
+ self.run_test_no_conflict(reverse(requirements))
if __name__ == '__main__':
suite = unittest.TestLoader().loadTestsFromTestCase(ConflictDetectionTests)