comparison rhodecode/tests/test_hg_operations.py @ 1087:51076a2a2b64 beta

fixed unicode problems with file paths. added feed arg to journal action mapper
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 26 Feb 2011 16:04:38 +0100
parents 15b60f83420c
children 6832ef664673
comparison
equal deleted inserted replaced
1086:b25a9f13fda1 1087:51076a2a2b64
239 def test_push_new_file(commits=15): 239 def test_push_new_file(commits=15):
240 240
241 test_clone(no_errors=True) 241 test_clone(no_errors=True)
242 242
243 cwd = path = jn(TESTS_TMP_PATH, HG_REPO) 243 cwd = path = jn(TESTS_TMP_PATH, HG_REPO)
244 added_file = jn(path, '%ssetup.py' % _RandomNameSequence().next()) 244 added_file = jn(path, '%ssetupążźć.py' % _RandomNameSequence().next())
245 245
246 Command(cwd).execute('touch %s' % added_file) 246 Command(cwd).execute('touch %s' % added_file)
247 247
248 Command(cwd).execute('hg add %s' % added_file) 248 Command(cwd).execute('hg add %s' % added_file)
249 249
323 #test_clone_anonymous_ok() 323 #test_clone_anonymous_ok()
324 324
325 #test_clone_wrong_credentials() 325 #test_clone_wrong_credentials()
326 326
327 #test_pull() 327 #test_pull()
328 test_push_new_file(commits=2) 328 test_push_new_file(commits=15)
329 #test_push_wrong_path() 329 #test_push_wrong_path()
330 #test_push_wrong_credentials() 330 #test_push_wrong_credentials()
331 331
332 332