def test_check_for_assemble_file_in_tests_directory(): with pytest.raises(SystemExit) as exc: assemble.check_for_assemble_file("test/Assemblefile") assert exc.value.code == 127
def test_check_for_assemble_file_in_base_directory(): assert assemble.check_for_assemble_file("Assemblefile")