comparison rhodecode/tests/functional/test_files.py @ 1818:cf51bbfb120e beta

auto white-space removal
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 29 Dec 2011 07:35:51 +0200
parents 8ecc6b8229a5
children ed3b20284830
comparison
equal deleted inserted replaced
1817:523b1011a625 1818:cf51bbfb120e
312 312
313 assert "There is no file nor directory at the given path: %r at revision %r" % (f_path, rev[:12]) in response.session['flash'][0][1], 'No flash message' 313 assert "There is no file nor directory at the given path: %r at revision %r" % (f_path, rev[:12]) in response.session['flash'][0][1], 'No flash message'
314 314
315 def test_ajaxed_files_list(self): 315 def test_ajaxed_files_list(self):
316 self.log_user() 316 self.log_user()
317 rev = '27cd5cce30c96924232dffcd24178a07ffeb5dfc' 317 rev = '27cd5cce30c96924232dffcd24178a07ffeb5dfc'
318 response = self.app.get(url('files_nodelist_home',repo_name=HG_REPO, 318 response = self.app.get(url('files_nodelist_home',repo_name=HG_REPO,
319 f_path='/', 319 f_path='/',
320 revision=rev), 320 revision=rev),
321 extra_environ={'HTTP_X_PARTIAL_XHR':'1'}, 321 extra_environ={'HTTP_X_PARTIAL_XHR':'1'},
322 ) 322 )
323 self.assertTrue("vcs/web/simplevcs/views/repository.py" in response.body) 323 self.assertTrue("vcs/web/simplevcs/views/repository.py" in response.body)
324
325
326