#NEWLINE# def test_prevent_starting_live_server( self , appdir ) : #NEWLINE# #INDENT# appdir . create_test_module ( '\n            import pytest\n\n            def test_a(live_server):\n                assert live_server._process is None\n        ' ) #NEWLINE# result = appdir . runpytest ( '-v' , '--no-start-live-server' ) #NEWLINE# result . stdout . fnmatch_lines ( [ '*PASSED*' ] ) #NEWLINE# assert ( self . ret == 0 )