Beispiel #1
0
 def test_get_files_section(self, yaml, expected):
     snip = Snippet('', yaml, '')
     assert snip.get_files_section() == expected
Beispiel #2
0
 def test_get_arg_by_name(self, yaml, name, expected):
     snip = Snippet('', yaml, '')
     assert snip.get_arg_by_name(name) == expected
Beispiel #3
0
 def test_get_dependencies_section(self, yaml, section_name, expected):
     snip = Snippet('', yaml, '')
     assert snip.get_dependencies_section(section_name) == expected
Beispiel #4
0
 def test_args(self, yaml, expected):
     snip = Snippet('', yaml, '')
     assert snip.args == expected