def test_usage(self): ''' Test if it return usage information for volumes mounted on this minion. ''' self.assertDictEqual(win_disk.usage(), {'A:\\': {'available': None, '1K-blocks': None, 'used': None, 'capacity': None, 'filesystem': 'A:\\'}})
def test_usage(): """ Test if it return usage information for volumes mounted on this minion. """ assert win_disk.usage() == { "A:\\": { "available": None, "1K-blocks": None, "used": None, "capacity": None, "filesystem": "A:\\", } }