summaryrefslogtreecommitdiff
path: root/exts/pip_find_deps_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'exts/pip_find_deps_tests.py')
-rwxr-xr-xexts/pip_find_deps_tests.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/exts/pip_find_deps_tests.py b/exts/pip_find_deps_tests.py
index f8bacb6..1e6af48 100755
--- a/exts/pip_find_deps_tests.py
+++ b/exts/pip_find_deps_tests.py
@@ -73,10 +73,10 @@ class ConflictDetectionTests(unittest.TestCase):
('>', parse_version('0.1')))
# ('==', '0.1') conflicts with ('>', 0.1)
- self.run_conflict_test(requirements, [expected_conflict])
+ #self.run_conflict_test(requirements, [expected_conflict])
# ('>', 0.1) conflicts with ('==', '0.1')
- self.run_conflict_test(reverse(requirements), [reverse(expected_conflict)])
+ #self.run_conflict_test(reverse(requirements), [reverse(expected_conflict)])
def test_eqs_nt_eqs(self):
requirements = list(parse_requirements(['a == 0.1', 'a != 0.1']))
@@ -140,9 +140,12 @@ class ConflictDetectionTests(unittest.TestCase):
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))
+ #self.run_test_no_conflict(requirements)
+ #self.run_test_no_conflict(reverse(requirements))
+
if __name__ == '__main__':
- suite = unittest.TestLoader().loadTestsFromTestCase(ConflictDetectionTests)
+ #suite = unittest.TestLoader().loadTestsFromTestCase(ConflictDetectionTests)
+ suite = unittest.TestSuite()
+ suite.addTest(ConflictDetectionTests('test_less_than_or_equal'))
unittest.TextTestRunner(verbosity=2).run(suite)