Example #1
0
 def test_lang_must_match_target_wrong_sbt_target(self):
     config = {"language": "scala", "target": ["pypi"]}
     with pytest.raises(vol.Invalid):
         language_must_match_target(config)
Example #2
0
 def test_lang_must_match_target_wrong_python_target(self):
     config = {"language": "python", "target": ["ivy"]}
     with pytest.raises(vol.Invalid):
         language_must_match_target(config)
Example #3
0
 def test_lang_must_match_target(self):
     config = {"language": "scala", "target": ["cloud_storage"]}
     language_must_match_target(config)