diff options
| author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 08:01:38 +0800 |
|---|---|---|
| committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 08:01:38 +0800 |
| commit | e530544546b2a4e5f00e8d9458bf1b895573ec41 (patch) | |
| tree | 9b957bd812fe98664d3f1f75615dda8242663097 /test/test_util.py | |
| parent | f78fc42b90711c81e06699d1ebdbe69e6648b949 (diff) | |
| download | gitpython-e530544546b2a4e5f00e8d9458bf1b895573ec41.tar.gz | |
reformat according to 'black' configuration file.
Diffstat (limited to 'test/test_util.py')
| -rw-r--r-- | test/test_util.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test_util.py b/test/test_util.py index b2903620..eb016189 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -181,9 +181,7 @@ class TestUtils(TestBase): (1522827734, 0), (1522827734, +3600), ): - self.assertEqual( - parse_date(from_timestamp(timestamp, offset)), (timestamp, offset) - ) + self.assertEqual(parse_date(from_timestamp(timestamp, offset)), (timestamp, offset)) # test all supported formats def assert_rval(rval, veri_time, offset=0): @@ -359,9 +357,7 @@ class TestUtils(TestBase): def test_remove_password_from_command_line(self): username = "fakeuser" password = "fakepassword1234" - url_with_user_and_pass = "https://{}:{}@fakerepo.example.com/testrepo".format( - username, password - ) + url_with_user_and_pass = "https://{}:{}@fakerepo.example.com/testrepo".format(username, password) url_with_user = "https://{}@fakerepo.example.com/testrepo".format(username) url_with_pass = "https://:{}@fakerepo.example.com/testrepo".format(password) url_without_user_or_pass = "https://fakerepo.example.com/testrepo" |
