Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 def test_exists_success(self, _):
     store = Repository(random_string())
     result = store.exists(random_string())
     self.assertTrue(result)
Example #4
0
 def test_exists_success(self, _):
     store = Repository(random_string())
     result = store.exists(random_string())
     self.assertTrue(result)