76
69
def test_create_if_missing(self):
77
70
# $HOME should be set to '.'
78
71
ignore_path = config.user_ignore_config_filename()
80
73
user_ignores = ignores.get_user_ignores()
81
74
self.assertEqual(set(ignores.USER_DEFAULTS), user_ignores)
84
77
f = open(ignore_path, 'rb')
86
79
entries = ignores.parse_ignore_file(f)