Commit a33741552e76b8fa93520ddfcab8ce0b9c9bf101
Committed by
GitHub
Merge pull request #317 from mykhaly/devel
Update create_fake_doc
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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