def test_is_example_file_true_if_has_suffix(): """ Should be true if ends in EXAMPLE_FILE_SUFFIX. """ file_name = 'find.md' actual = util._is_example_file(file_name) assert actual == True
def test_is_example_file_true_if_not_suffix(): """ Should be false if the file does not end in EXAMPLE_FILE_SUFFIX. """ file_name = 'aliases.json' actual = util._is_example_file(file_name) assert_equal(actual, False)
def test_is_example_file_true_if_not_suffix(): """ Should be false if the file does not end in EXAMPLE_FILE_SUFFIX. """ file_name = 'aliases.json' actual = util._is_example_file(file_name) assert actual == False
def test_is_example_file_true_if_has_suffix(): """ Should be true if ends in EXAMPLE_FILE_SUFFIX. """ file_name = 'find.md' actual = util._is_example_file(file_name) assert_equal(actual, True)