def METHOD_NAME(self):
    """
    Test whether the manager's register_plugin_by_url method raises NameError
    exception when the compute respource argument doesn't exist in the DB.
    """
    with self.assertRaises(NameError):
        self.pl_manager.register_plugin('testapp', '0.1', 'dummy')