def test_exists_missing_file(self, m_exists): m_exists.return_value = False store = Repository(random_string()) result = store.exists(random_string()) self.assertFalse(result)
def test_exists_success(self, _): store = Repository(random_string()) result = store.exists(random_string()) self.assertTrue(result)