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