'Test get_backend returns None for invalid paths
and raises TypeError when invalid class or class name is a method.'

def test_get_backend_raise_error_for_invalid_class(self):

    self.assertEqual(microsite.get_backend(None, BaseMicrositeBackend), None)
    with self.assertRaises(TypeError):
        microsite.get_backend('microsite_configuration.microsite.get_backend', BaseMicrositeBackend)
