We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dbd474 commit 5b1de6aCopy full SHA for 5b1de6a
smartdispatch/tests/test_smartdispatch.py
@@ -24,7 +24,7 @@ def test_generate_name_from_command():
24
25
max_length = 23
26
command = "command veryverylongarg1 veryverylongarg1 veryverylongarg1 veryverylongarg1"
27
- expected = command[max_length:]
+ expected = command[:max_length].replace(" ", "_")
28
assert_equal(smartdispatch.generate_name_from_command(command, max_length=max_length + date_lenght)[date_lenght:], expected)
29
30
# Test path arguments in command
0 commit comments