Page MenuHomeDevCentral

D1705.id4334.diff
No OneTemporary

D1705.id4334.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, 18:53 (21 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2269408
Default Alt Text
D1705.id4334.diff (417 B)

Event Timeline