Exemplo n.º 1
0
    def test_paths_true(self):
        paths = []

        vp = VerifyPaths()
        status = vp.files(paths)
        self.assertTrue(status)
Exemplo n.º 2
0
    def test_minsize_false(self):
        paths = []

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

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

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