--- a/tests/test-remotefilelog-datapack.py Fri Nov 27 17:00:00 2020 -0500
+++ b/tests/test-remotefilelog-datapack.py Fri Nov 27 17:03:29 2020 -0500
@@ -82,8 +82,7 @@
return self.datapackreader(path)
def _testAddSingle(self, content):
- """Test putting a simple blob into a pack and reading it out.
- """
+ """Test putting a simple blob into a pack and reading it out."""
filename = b"foo"
node = self.getHash(content)
@@ -124,8 +123,7 @@
self.assertEqual(content, chain[0][4])
def testAddDeltas(self):
- """Test putting multiple delta blobs into a pack and read the chain.
- """
+ """Test putting multiple delta blobs into a pack and read the chain."""
revisions = []
filename = b"foo"
lastnode = nullid
@@ -148,8 +146,7 @@
self.assertEqual(content, chain[-i - 1][4])
def testPackMany(self):
- """Pack many related and unrelated objects.
- """
+ """Pack many related and unrelated objects."""
# Build a random pack file
revisions = []
blobs = {}
@@ -198,8 +195,7 @@
self.assertEqual(parsedmeta, origmeta)
def testGetMissing(self):
- """Test the getmissing() api.
- """
+ """Test the getmissing() api."""
revisions = []
filename = b"foo"
lastnode = nullid