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)
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)
def test_lang_must_match_target(self): config = {"language": "scala", "target": ["cloud_storage"]} language_must_match_target(config)