'Monkeypatch get_model.'

def setUp(self):

    self.get_model = rest_framework.compat.apps.get_model
    def get_model(app_label, model_name):
        return None
    rest_framework.compat.apps.get_model = get_model
