diff --git a/samples/test_google_search.py b/samples/test_google_search.py index e35367c57..46d4fa7f4 100755 --- a/samples/test_google_search.py +++ b/samples/test_google_search.py @@ -32,4 +32,5 @@ def test_filling_splinter_in_the_search_box_returns_splinter_website(self): self.assertTrue(self.browser.is_text_present("https://splinter.readthedocs.io")) -unittest.main() +if __name__ == "__main__": + unittest.main()