def test_get_files_section(self, yaml, expected): snip = Snippet('', yaml, '') assert snip.get_files_section() == expected
def test_get_arg_by_name(self, yaml, name, expected): snip = Snippet('', yaml, '') assert snip.get_arg_by_name(name) == expected
def test_get_dependencies_section(self, yaml, section_name, expected): snip = Snippet('', yaml, '') assert snip.get_dependencies_section(section_name) == expected
def test_args(self, yaml, expected): snip = Snippet('', yaml, '') assert snip.args == expected