Example #1
0
 def test_cli2(self):
     sys.argv = [
         'evaluate.py', 'requirements.txtssssss', 'setup.py', '-c', '-m',
         '0', '-i'
     ]
     with self.assertRaises(SystemExit):
         __main__.main()
Example #2
0
 def test_cli5(self):
     sys.argv = ['evaluate.py', 'setup.py', 'setup.py']
     __main__.main()
Example #3
0
 def test_cli4(self):
     sys.argv = ['evaluate.py', 'requirements.txt', 'setup.py']
     __main__.main()
Example #4
0
 def test_cli8(self):
     sys.argv = ['evaluate.py', 'requirements.txt', 'requirements.txt', '-id']
     __main__.main()
Example #5
0
 def test_cli1(self):
     sys.argv = [
         'evaluate.py', 'requirements.txt', 'setup.py', '-c', '-m', '0',
         '-i'
     ]
     __main__.main()
Example #6
0
 def test_cli8(self):
     sys.argv = ['evaluate.py', 'requirements.txt', 'requirements.txt', '-id']
     __main__.main()
Example #7
0
 def test_cli7(self):
     sys.argv = ['evaluate.py', 'setup.py', 'setup.py', '-e']
     __main__.main()
Example #8
0
 def test_cli4(self):
     sys.argv = ['evaluate.py', 'requirements.txt', 'setup.py']
     __main__.main()
Example #9
0
 def test_cli2(self):
     sys.argv = ['evaluate.py', 'requirements.txtssssss', 'setup.py', '-c', '-m', '0', '-i']
     with self.assertRaises(SystemExit):
         __main__.main()
Example #10
0
 def test_cli1(self):
     sys.argv = ['evaluate.py', 'requirements.txt', 'setup.py', '-c', '-m', '0', '-i']
     __main__.main()