[Test Suite] [Windows] Acceptance test fails on windows

Bug #540356 reported by Nadia Alramli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
Medium
Nadia Alramli

Bug Description

Should take into account reserved characters: http://en.wikipedia.org/wiki/Filename#Comparison_of_file_name_limitations

E:\phatch\tests>python acceptance_test.py --all --extended
Traceback (most recent call last):
  File "acceptance_test.py", line 221, in <module>
    choices_function=choices_function,
  File "E:\phatch\tests\test_suite\phatchtools.py", line 178, in generate_action
lists
    utils.write_file(output_path, repr(dump(actionlist)))
  File "E:\phatch\tests\test_suite\utils.py", line 57, in write_file
    f = open(path, 'w')
IOError: [Errno 22] invalid mode ('w') or filename: u'E:\\phatch\\tests\\output\
\actionlists\\Save-As=<type>-ShowTypeOps=0.phatch'

Tags: test windows
Nadia Alramli (nadiana)
Changed in phatch:
status: Confirmed → In Progress
Revision history for this message
Nadia Alramli (nadiana) wrote :

Pushed the fix to the acceptance_test branch

Nadia Alramli (nadiana)
Changed in phatch:
status: In Progress → Fix Released
Stani (stani)
tags: added: test windows
summary: - [Test Suite] Acceptance test fails on windows
+ [Test Suite] [Windows] Acceptance test fails on windows
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.