asfaltboy / SublimeTestPlier

run python tests quickly from within a project
https://packagecontrol.io/packages/Test%20Plier
MIT License
10 stars 4 forks source link

Repeating separator symbols should be removed #1

Closed asfaltboy closed 8 years ago

asfaltboy commented 9 years ago

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.