示例#1
0
    def test_successfully(self):
        '''Tests calling NfsBroker.is_config_valid() successfully'''

        mount = 'host:/dir'

        # Call method to test
        broker = NfsBroker()
        # No exception is success
        broker.is_config_valid({'type': NfsBroker.broker_type, 'mount': mount})