Exemplo n.º 1
0
 def test_jenkins_server(self):
     assert parse_args(['-s', 'http://localhost:8080'])
Exemplo n.º 2
0
 def test_missing_jenkins_server(self):
     with pytest.raises(SystemExit):
         parse_args(['-s'])
Exemplo n.º 3
0
 def test_missing_job_name(self):
     with pytest.raises(SystemExit):
         parse_args(['-f', ice_setup_xml_file, '-n'])
Exemplo n.º 4
0
 def test_ice_setup(self):
     assert parse_args(['-f', ice_setup_xml_file, '-n', 'ice-setup'])
Exemplo n.º 5
0
 def test_missing_filename(self):
     with pytest.raises(SystemExit):
         parse_args(['-f'])