Ejemplo n.º 1
0
    def test_freeze(self):
        """Test repository freeze"""

        self.freeze_invoked = 0
        repos.freeze([self.repos_path], self.freeze_body)
        self.assertEqual(self.freeze_invoked, 1)
Ejemplo n.º 2
0
  def test_freeze(self):
    """Test repository freeze"""

    self.freeze_invoked = 0
    repos.freeze([self.repos_path], self.freeze_body)
    self.assertEqual(self.freeze_invoked, 1)