def test_get_placeholder_placeholders_not_found(self):
     parser = Parser({})
     with pytest.raises(Exception) as inst:
         parser.get_placeholder('test')
     assert str(inst.value) == "Placeholder field was not found."
 def test_get_placeholder(self):
     parser = Parser(self._get_data())
     assert parser.get_placeholder("UPSTREAM_PROJECT") == "my-upstream-project"