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