def test_virtual():
    'Test overriding virtual methods from python.'
    prime = Animal('Prime')
    dog = Dog('Doggo')
    lily = Husky('Lily')
    assert (prime.go(1) == '')
    assert (lily.go(2) == 'woof woof ')
    assert (prime.command(2) == 'Prime: ')
    assert (lily.command(3) == 'Lily: woof woof woof ')
    with pytest.raises(NotImplementedError):
        dog.go(3)
    with pytest.raises(NotImplementedError):
        dog.command(2)
Test overriding virtual methods from python.
def test_virtual():
    
    prime = Animal('Prime')
    dog = Dog('Doggo')
    lily = Husky('Lily')
    assert (prime.go(1) == )
    assert (lily.go(2) == 'woof woof ')
    assert (prime.command(2) == 'Prime: ')
    assert (lily.command(3) == 'Lily: woof woof woof ')
    with pytest.raises(NotImplementedError):
        dog.go(3)
    with pytest.raises(NotImplementedError):
        dog.command(2)