tests/test_oauth2maker_cmd.py
def command_type_with_model(model_type):
    """
    Convenience function for testing. Create `oauth2_app_maker` extension
    class bound to the specified model type.
    """
    from tests.ide_test_compat import AbstractAppMaker

    class Command(AbstractAppMaker):
        @classmethod
        def app_model(cls):
            return model_type
    return Command

    Convenience function for testing. Create `oauth2_app_maker` extension
    class bound to the specified model type.
    
Convenience function for testing. Create `oauth2_app_maker` extension
class bound to the specified model type.
Convenience function for testing . Create ` oauth2_app_maker ` extension class bound to the specified model type .
def command_type_with_model(model_type):
    from tests.ide_test_compat import AbstractAppMaker
    class Command(AbstractAppMaker):
        @classmethod
        def app_model(cls):
            return model_type
    return Command
def command_type_with_model ( model_type ) : from tests . ide_test_compat import AbstractAppMaker class Command ( AbstractAppMaker ) : @ classmethod def app_model ( cls ) : return model_type return Command
Convenience function for testing.
Convenience function for testing .
"""
    Convenience function for testing. Create `oauth2_app_maker` extension
    class bound to the specified model type.
    """
model_type