def env_vars_load_with_prefix(self): os.environ['INVOKE_RUN_ECHO'] = "1" with mocked_run(): # Task performs the assert _dispatch('invoke -c contextualized check_echo')
def _test_flag(self, flag, key): with mocked_run(): # The tasks themselves perform the necessary asserts. _dispatch('invoke {0} -c contextualized check_{1}'.format( flag, key ))
def _test_flag(self, flag, key): with mocked_run(): # The tasks themselves perform the necessary asserts. _dispatch('invoke {0} -c contextualized check_{1}'.format( flag, key))