예제 #1
0
    def test_paths_true(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths)
        self.assertTrue(status)
예제 #2
0
    def test_minsize_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths, minsize=0)
        self.assertFalse(status)
예제 #3
0
    def test_all_options_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths, os.W_OK, [], 0)
        self.assertFalse(status)
예제 #4
0
    def test_access_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths, access=os.W_OK)
        self.assertFalse(status)
예제 #5
0
    def test_extensions_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths, extensions=[])
        self.assertFalse(status)
    def test_paths_true(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths)
        self.assertTrue(status)
예제 #7
0
    def test_paths_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths)
        self.assertFalse(status)
    def test_minsize_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths, minsize=0)
        self.assertFalse(status)
    def test_all_options_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths, os.W_OK, [], 0)
        self.assertFalse(status)
    def test_extensions_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths, extensions=[])
        self.assertFalse(status)
    def test_access_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths, access=os.W_OK)
        self.assertFalse(status)
    def test_paths_false(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths)
        self.assertFalse(status)
예제 #13
0
    def test_access_true(self):
        paths = []

        vp = VerifyPaths()
        status = vp.dirs(paths, access=os.W_OK)
        self.assertTrue(status)
    def test_access_true(self):
        paths = []

        vp = VerifyPaths()
        status = vp.all(paths, access=os.W_OK)
        self.assertTrue(status)