File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1717from tests .settings import AZURE_ACL_TEST_APPID
1818
1919test_dir = working_dir ()
20+ symlinktestsdisabled = "symlink" not in str (test_dir ).lower ()
2021
2122a = posix (test_dir / 'a' )
2223b = posix (test_dir / 'b' )
@@ -135,7 +136,7 @@ def test_seek(azure):
135136 for i in range (4 ):
136137 assert f .seek (i ) == i
137138
138-
139+ @ pytest . mark . skipif ( not symlinktestsdisabled , reason = "Concat is not supported over symlinks." )
139140@my_vcr .use_cassette
140141def test_concat (azure ):
141142 aplus = a + "+file1"
@@ -1043,7 +1044,7 @@ def test_write_blocks(azure):
10431044 assert f .tell () == 9
10441045 assert azure .du (a )[a ] == 9
10451046
1046-
1047+ @ pytest . mark . skipif ( not symlinktestsdisabled , reason = "Zero byte append succeeds in Xstore, so this test won't rest expected exception." )
10471048@my_vcr .use_cassette
10481049def test_skip_existing_block (azure ):
10491050 with azure .open (a , mode = 'wb' ) as f :
You can’t perform that action at this time.
0 commit comments