Пример #1
0
    def test_get_build_packages(self):
        plugin = AutotoolsPlugin(part_name="my-part", options=lambda: None)

        self.assertThat(
            plugin.get_build_packages(),
            Equals({"autoconf", "automake", "autopoint", "gcc", "libtool"}),
        )
Пример #2
0
def test_get_build_packages():
    plugin = AutotoolsPlugin(part_name="my-part", options=lambda: None)

    assert plugin.get_build_packages() == {
        "autoconf",
        "automake",
        "autopoint",
        "gcc",
        "libtool",
    }