Commit e047c466 authored by Christian Kellner's avatar Christian Kellner Committed by Christian Kellner
Browse files

integration-test: check the name of batteries

parent 9a45d3d0
......@@ -192,6 +192,7 @@ class Tests(unittest.TestCase):
self.assertTrue('batteries' in out['hardware'])
bats = out['hardware']['batteries']
self.assertEqual(len(bats), 1)
self.assertEqual(bats[0]['name'], 'BAT0')
self.assertEqual(bats[0]['vendor'], vendor)
self.assertEqual(bats[0]['model'], model)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment