コード例 #1
0
 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:\\'}})
コード例 #2
0
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:\\",
        }
    }