def testNotACheckout(self):
     scm = Subversion()
     self.destroy(self.clonedir)
     self.assertEqual(scm.is_valid_sandbox(self.clonedir), False)
 def testNotExists(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_sandbox('foo'), False)
 def testNotADir(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_sandbox(join(self.clonedir, 'setup.py')), False)
 def testSandbox(self):
     scm = Subversion()
     self.assertEqual(scm.is_valid_sandbox(self.clonedir), True)