def setUpClass(cls): """Create a new test project and install and run it properly.""" if is_device_rooted(): os.chdir(TESTS_DIR) test_utils.stop_app(PACKAGE_NAME) hello_world.hello_world(show_log=False) # Wait for termination of the app installation before doing fast deploys. time.sleep(6) test_utils.stop_app(PACKAGE_NAME)
def test_hello_python_api(self): """ Test creating, deploying and running a new hello world project via python api. """ hello_world.hello_world(show_log=False)