def _validate_test_config(test_config):
    """Validates the raw configuration loaded from the config file.

    Making sure the required key 'TestBeds' is present.
    """
    required_key = keys.Config.key_testbed.value
    if required_key not in test_config:
        raise MoblyConfigError(
            'Required key %s missing in test config.' % required_key)
def _validate_test_config ( test_config ) : required_key = keys . Config . key_testbed . value if required_key not in test_config : raise MoblyConfigError ( 'Required key %s missing in test config.' % required_key )
Validates the raw configuration loaded from the config file.

    Making sure the required key 'TestBeds' is present.