예제 #1
0
 def testSyncableDir(self):
     # not syncable
     self.assertFalse(mediasync.is_syncable_dir(".test"))
     self.assertFalse(mediasync.is_syncable_dir("_test"))
     # syncable
     self.assertTrue(mediasync.is_syncable_dir("test"))
     self.assertTrue(mediasync.is_syncable_dir("1234"))
예제 #2
0
 def testSyncableDir(self):
     # not syncable
     self.assertFalse(mediasync.is_syncable_dir(".test"))
     self.assertFalse(mediasync.is_syncable_dir("_test"))
     # syncable
     self.assertTrue(mediasync.is_syncable_dir("test"))
     self.assertTrue(mediasync.is_syncable_dir("1234"))