Page MenuHomeDevCentral

D1705.id4333.diff
No OneTemporary

D1705.id4333.diff

diff --git a/_tests/salt_test_case.py b/_tests/salt_test_case.py
--- a/_tests/salt_test_case.py
+++ b/_tests/salt_test_case.py
@@ -9,7 +9,8 @@
self.pillar = source.dunder()
self.grains = source.dunder()
- def import_data_from_yaml(self, filename):
+ @staticmethod
+ def import_data_from_yaml(filename):
with open(filename, 'r') as fd:
return yaml.load(fd.read())

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 19:35 (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2269408
Default Alt Text
D1705.id4333.diff (417 B)

Event Timeline