aboutsummaryrefslogtreecommitdiff
path: root/wlauto/instrumentation/juno_energy/__init__.py
diff options
context:
space:
mode:
authorSebastian Goscik <sebastian.goscik@live.co.uk>2016-02-16 15:38:48 +0000
committerSebastian Goscik <sebastian.goscik@live.co.uk>2016-02-19 15:27:18 +0000
commit001239dfe46ce9268c8263eba1e0f7a0ea1c8f2c (patch)
tree5457b47fb38fa890c375fe68313c314221d92219 /wlauto/instrumentation/juno_energy/__init__.py
parent6f0de17201f84c0f5cab9fbf1e23676b59b446c6 (diff)
Fixed WA extensions for LinuxManager
Changed method calls to devlib naming
Diffstat (limited to 'wlauto/instrumentation/juno_energy/__init__.py')
-rw-r--r--wlauto/instrumentation/juno_energy/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wlauto/instrumentation/juno_energy/__init__.py b/wlauto/instrumentation/juno_energy/__init__.py
index e1310a5a..db71cdea 100644
--- a/wlauto/instrumentation/juno_energy/__init__.py
+++ b/wlauto/instrumentation/juno_energy/__init__.py
@@ -81,7 +81,7 @@ class JunoEnergy(Instrument):
self.device.killall('readenergy', signal='TERM', as_root=True)
def update_result(self, context):
- self.device.pull_file(self.device_output_file, self.host_output_file)
+ self.device.pull(self.device_output_file, self.host_output_file)
context.add_artifact('junoenergy', self.host_output_file, 'data')
with open(self.host_output_file) as fh:
@@ -99,7 +99,7 @@ class JunoEnergy(Instrument):
context.add_metric(header, value, UNIT_MAP[header.split('_')[-1]])
def teardown(self, conetext):
- self.device.delete_file(self.device_output_file)
+ self.device.remove(self.device_output_file)
def validate(self):
if self.strict: