def test_get_build_environment(self): plugin = AutotoolsPlugin(part_name="my-part", options=lambda: None) self.assertThat( plugin.get_build_environment(), Equals({"SNAPCRAFT_AUTOTOOLS_INSTALL_PREFIX": "/"}), )
def test_get_build_environment(self): plugin = AutotoolsPlugin(part_name="my-part", options=lambda: None) self.assertThat(plugin.get_build_environment(), Equals(dict()))
def test_get_build_environment(): plugin = AutotoolsPlugin(part_name="my-part", options=lambda: None) assert plugin.get_build_environment() == dict()