Changeset - eb4bdc324875
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2017-08-07 23:15:30
dominikruf@gmail.com
tests: replace touch command with platform independent python code
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/other/test_vcs_operations.py
Show inline comments
 
@@ -96,7 +96,7 @@ def _add_files_and_push(webserver, vcs, 
 
    cwd = os.path.join(DEST)
 
    #added_file = '%ssetupążźć.py' % _RandomNameSequence().next()
 
    added_file = '%ssetup.py' % _RandomNameSequence().next()
 
    Command(cwd).execute('touch %s' % added_file)
 
    open(os.path.join(cwd, added_file), 'a').close()
 
    Command(cwd).execute('%s add %s' % (vcs, added_file))
 

	
 
    email = 'me@example.com'
0 comments (0 inline, 0 general)