Skip to content

Commit f54e3e7

Browse files
committed
switch the force_string toggle back on for the invalid data tests to avoid CI failing on experimental
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6052 b75ad72c-e7d7-11dd-a971-7dbc132099af
1 parent f6c07ac commit f54e3e7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_mig_shared_fileio.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ def setUp(self):
5757
cleanpath(os.path.dirname(DUMMY_FILE_WRITECHUNK), self)
5858

5959
def test_return_false_on_invalid_data(self):
60-
did_succeed = fileio.write_chunk(self.tmp_path, 1234, 0, self.logger)
60+
# NOTE: we make sure to disable any forced stringification here
61+
did_succeed = fileio.write_chunk(self.tmp_path, 1234, 0, self.logger,
62+
force_string=False)
6163
self.assertFalse(did_succeed)
6264

6365
def test_return_false_on_invalid_offset(self):
@@ -135,7 +137,9 @@ def setUp(self):
135137
cleanpath(os.path.dirname(DUMMY_FILE_WRITEFILE), self)
136138

137139
def test_return_false_on_invalid_data(self):
138-
did_succeed = fileio.write_file(1234, self.tmp_path, self.logger)
140+
# NOTE: we make sure to disable any forced stringification here
141+
did_succeed = fileio.write_file(1234, self.tmp_path, self.logger,
142+
force_string=False)
139143
self.assertFalse(did_succeed)
140144

141145
def test_return_false_on_invalid_dir(self):

0 commit comments

Comments
 (0)