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

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

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

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

        vp = VerifyPaths()
        status = vp.files(paths, access=os.W_OK)
        self.assertFalse(status)
Exemple #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)
Exemple #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)
Exemple #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)