Skip test3b_delete_tree_constraint if $HOME is a subdirectory of /tmp
Closes: https://gramps-project.org/bugs/view.php?id=12577
This commit is contained in:
parent
d01deb2cc9
commit
1e95d8a6b5
@ -175,6 +175,10 @@ class Test3(U.TestCase):
|
|||||||
|
|
||||||
def test3b_delete_tree_constraint(self):
|
def test3b_delete_tree_constraint(self):
|
||||||
if self.home:
|
if self.home:
|
||||||
|
sep = os.path.sep
|
||||||
|
tmp = tempfile.gettempdir() + sep
|
||||||
|
if ((self.home + sep).startswith(tmp)):
|
||||||
|
self.skipTest("skipping delete_tree_constraint test")
|
||||||
err = None
|
err = None
|
||||||
try:
|
try:
|
||||||
tu.delete_tree(self.home_junk)
|
tu.delete_tree(self.home_junk)
|
||||||
|
Loading…
Reference in New Issue
Block a user