test: format with latest black

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-03-14 22:41:37 +02:00
parent acf88d88be
commit b5d7bf0144
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -284,8 +284,8 @@ class TestCheckoutMissingMd5InStageFile(TestRepro):
with open(self.file1_stage, "r") as fd:
d = yaml.load(fd)
del (d[Stage.PARAM_OUTS][0][RemoteLOCAL.PARAM_CHECKSUM])
del (d[Stage.PARAM_DEPS][0][RemoteLOCAL.PARAM_CHECKSUM])
del d[Stage.PARAM_OUTS][0][RemoteLOCAL.PARAM_CHECKSUM]
del d[Stage.PARAM_DEPS][0][RemoteLOCAL.PARAM_CHECKSUM]
with open(self.file1_stage, "w") as fd:
yaml.dump(d, fd)
+1 -1
View File
@@ -634,7 +634,7 @@ class TestWarnOnOutdatedStage(TestDvc):
stage_file_path = stage.relpath
content = load_stage_file(stage_file_path)
del (content["outs"][0]["md5"])
del content["outs"][0]["md5"]
with open(stage_file_path, "w") as stage_file:
yaml.dump(content, stage_file)
+2 -2
View File
@@ -709,8 +709,8 @@ class TestReproMissingMd5InStageFile(TestRepro):
with open(self.file1_stage, "r") as fd:
d = yaml.load(fd)
del (d[Stage.PARAM_OUTS][0][RemoteLOCAL.PARAM_CHECKSUM])
del (d[Stage.PARAM_DEPS][0][RemoteLOCAL.PARAM_CHECKSUM])
del d[Stage.PARAM_OUTS][0][RemoteLOCAL.PARAM_CHECKSUM]
del d[Stage.PARAM_DEPS][0][RemoteLOCAL.PARAM_CHECKSUM]
with open(self.file1_stage, "w") as fd:
yaml.dump(d, fd)