from hello import HelloWorld hello = HelloWorld() def test_hello(): assert hello.greet() == 'hello world'