Currently, supplying a command argument which use all 3 interpolation attributes (e.g: {filename}::{test_class}::{test_func}) may lead to incorrect form when some arguments are missing.
For instance if the command finds a test function only, it may end up passing file.py::::my_test``which will fail to run (e.g in py.test). By the way, we currently already strip a hardcoded separator:` from around our cmd args, but when they appear repeated within resulting string.
Currently, supplying a command argument which use all 3 interpolation attributes (e.g:
{filename}::{test_class}::{test_func}
) may lead to incorrect form when some arguments are missing.For instance if the command finds a test function only, it may end up passing
file.py::::my_test``which will fail to run (e.g in py.test). By the way, we currently already strip a hardcoded separator
:` from around our cmd args, but when they appear repeated within resulting string.