gigl.common.utils.test_utils#

Attributes#

Classes#

TestArgs

Container for CLI arguements to Python tests.

Functions#

parse_args()

Parses test-exclusive CLI arguements.

run_tests(start_dir, pattern[, use_sequential_execution])

Module Contents#

class gigl.common.utils.test_utils.TestArgs[source]#

Container for CLI arguements to Python tests.

test_file_pattern[source]#

Glob pattern for filtering which test files to run. See doc comment in parse_args for more details.

Type:

str

test_file_pattern: str[source]#
gigl.common.utils.test_utils.parse_args()[source]#

Parses test-exclusive CLI arguements.

Return type:

TestArgs

gigl.common.utils.test_utils.run_tests(start_dir, pattern, use_sequential_execution=False)[source]#
Parameters:
  • start_dir (LocalUri) – Local Directory for running tests

  • pattern (str) – file text pattern for running tests

  • use_sequential_execution (bool) – Whether sequential exection should be used

Returns:

Whether all tests passed successfully

Return type:

bool

gigl.common.utils.test_utils.logger[source]#