Commit a33741552e76b8fa93520ddfcab8ce0b9c9bf101

Authored by Yurii Mykhalchuk
Committed by GitHub
2 parents 8ef0f110 01fb7d17

Merge pull request #317 from mykhaly/devel

Update create_fake_doc
@@ -45,7 +45,7 @@ def create_fake_doc(): @@ -45,7 +45,7 @@ def create_fake_doc():
45 tf = NamedTemporaryFile(delete=False, suffix=suffix, prefix=prefix) 45 tf = NamedTemporaryFile(delete=False, suffix=suffix, prefix=prefix)
46 tf.write(content) 46 tf.write(content)
47 tf.close() 47 tf.close()
48 - return tf.name, os.path.basename(tf.name), content 48 + return tf.name.replace('\\', '\\\\'), os.path.basename(tf.name), content
49 49
50 50
51 def test_tender_data(params, periods=("enquiry", "tender")): 51 def test_tender_data(params, periods=("enquiry", "tender")):
Please register or login to post a comment