Skip to content

Commit c9bc453

Browse files
cmcmarrowMegan Wilhite
authored and
Megan Wilhite
committed
run pre
1 parent e60abda commit c9bc453

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

salt/utils/gitfs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def __init__(
473473
self.role,
474474
getattr(self, "base", ""),
475475
getattr(self, "branch", ""),
476-
target
476+
target,
477477
]
478478
)
479479
# We loaded this data from yaml configuration files, so, its safe

tests/unit/utils/test_gitfs.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,14 @@ def test_update_by_id_and_name(self):
115115
self.assertFalse(self.main_class.remotes[1].fetched)
116116

117117
def test_full_id(self):
118-
self.assertEqual(self.main_class.remotes[0].full_id(), "-file://repo1.git---gitfs-master--")
118+
self.assertEqual(
119+
self.main_class.remotes[0].full_id(), "-file://repo1.git---gitfs-master--"
120+
)
119121

120122
def test_full_id_with_name(self):
121123
self.assertEqual(
122-
self.main_class.remotes[1].full_id(), "repo2-file://repo2.git---gitfs-master--"
124+
self.main_class.remotes[1].full_id(),
125+
"repo2-file://repo2.git---gitfs-master--",
123126
)
124127

125128
def test_get_cachedir_basename(self):

0 commit comments

Comments
 (0)