Mercurial > hgsubversion
comparison tests/test_urls.py @ 832:e9af7eba88db
globally: clean up whitespace around operators and commas to conform with PEP8
Mostly autoformatted by Eclipse. A few manual corrections were
performed where Eclipse's autoformatter did something non-idiomatic.
author | Yonggang Luo <luoyonggang@gmail.com> |
---|---|
date | Wed, 12 Oct 2011 15:35:25 +0800 |
parents | ae5968ffe6fe |
children | 312b37bc5e20 |
comparison
equal
deleted
inserted
replaced
831:be5bbb2f2d68 | 832:e9af7eba88db |
---|---|
27 (None, '123abc', 'svn+ssh://svn.testurl.com/repo'), | 27 (None, '123abc', 'svn+ssh://svn.testurl.com/repo'), |
28 parse_url('svn+ssh://:t3stpw@svn.testurl.com/repo', None, '123abc')) | 28 parse_url('svn+ssh://:t3stpw@svn.testurl.com/repo', None, '123abc')) |
29 | 29 |
30 def test_svnssh_preserve_user(self): | 30 def test_svnssh_preserve_user(self): |
31 self.assertEqual( | 31 self.assertEqual( |
32 ('user', 't3stpw', 'svn+ssh://user@svn.testurl.com/repo', ), | 32 ('user', 't3stpw', 'svn+ssh://user@svn.testurl.com/repo',), |
33 parse_url('svn+ssh://user:t3stpw@svn.testurl.com/repo')) | 33 parse_url('svn+ssh://user:t3stpw@svn.testurl.com/repo')) |
34 self.assertEqual( | 34 self.assertEqual( |
35 ('bob', '123abc', 'svn+ssh://bob@svn.testurl.com/repo', ), | 35 ('bob', '123abc', 'svn+ssh://bob@svn.testurl.com/repo',), |
36 parse_url('svn+ssh://user:t3stpw@svn.testurl.com/repo', 'bob', '123abc')) | 36 parse_url('svn+ssh://user:t3stpw@svn.testurl.com/repo', 'bob', '123abc')) |
37 self.assertEqual( | 37 self.assertEqual( |
38 ('user2', None, 'svn+ssh://user2@svn.testurl.com/repo', ), | 38 ('user2', None, 'svn+ssh://user2@svn.testurl.com/repo',), |
39 parse_url('svn+ssh://user2@svn.testurl.com/repo')) | 39 parse_url('svn+ssh://user2@svn.testurl.com/repo')) |
40 self.assertEqual( | 40 self.assertEqual( |
41 ('bob', None, 'svn+ssh://bob@svn.testurl.com/repo', ), | 41 ('bob', None, 'svn+ssh://bob@svn.testurl.com/repo',), |
42 parse_url('svn+ssh://user2@svn.testurl.com/repo', 'bob')) | 42 parse_url('svn+ssh://user2@svn.testurl.com/repo', 'bob')) |
43 | 43 |
44 def test_user_password_url(self): | 44 def test_user_password_url(self): |
45 self.assertEqual( | 45 self.assertEqual( |
46 ('joe', 't3stpw', 'https://svn.testurl.com/repo'), | 46 ('joe', 't3stpw', 'https://svn.testurl.com/repo'), |