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