def test_allow_inheritance_from_interface(f, s):
    'Allow inheritance from interface.'
    user_class = f(s.User)
    user = user_class(last_login=datetime(1999, 12, 31))
    assert (not user.is_active())
Allow inheritance from interface.
def test_allow_inheritance_from_interface(f, s):
    
    user_class = f(s.User)
    user = user_class(last_login=datetime(1999, 12, 31))
    assert (not user.is_active())