summaryrefslogtreecommitdiff
path: root/test/test_reflog.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2022-05-18 08:01:38 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2022-05-18 08:01:38 +0800
commite530544546b2a4e5f00e8d9458bf1b895573ec41 (patch)
tree9b957bd812fe98664d3f1f75615dda8242663097 /test/test_reflog.py
parentf78fc42b90711c81e06699d1ebdbe69e6648b949 (diff)
downloadgitpython-e530544546b2a4e5f00e8d9458bf1b895573ec41.tar.gz
reformat according to 'black' configuration file.
Diffstat (limited to 'test/test_reflog.py')
-rw-r--r--test/test_reflog.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test_reflog.py b/test/test_reflog.py
index c126d3dc..e899ac48 100644
--- a/test/test_reflog.py
+++ b/test/test_reflog.py
@@ -16,9 +16,7 @@ class TestRefLog(TestBase):
actor = Actor("name", "email")
msg = "message"
- self.assertRaises(
- ValueError, RefLogEntry.new, nullhexsha, hexsha, "noactor", 0, 0, ""
- )
+ self.assertRaises(ValueError, RefLogEntry.new, nullhexsha, hexsha, "noactor", 0, 0, "")
e = RefLogEntry.new(nullhexsha, hexsha, actor, 0, 1, msg)
assert e.oldhexsha == nullhexsha
@@ -78,9 +76,7 @@ class TestRefLog(TestBase):
assert open(tfile).read() == open(rlp).read()
# append an entry
- entry = RefLog.append_entry(
- cr, tfile, IndexObject.NULL_BIN_SHA, binsha, msg
- )
+ entry = RefLog.append_entry(cr, tfile, IndexObject.NULL_BIN_SHA, binsha, msg)
assert entry.oldhexsha == IndexObject.NULL_HEX_SHA
assert entry.newhexsha == "f" * 40
assert entry.message == msg