Skip to content

Commit 5b1de6a

Browse files
committed
bis
1 parent 7dbd474 commit 5b1de6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smartdispatch/tests/test_smartdispatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_generate_name_from_command():
2424

2525
max_length = 23
2626
command = "command veryverylongarg1 veryverylongarg1 veryverylongarg1 veryverylongarg1"
27-
expected = command[max_length:]
27+
expected = command[:max_length].replace(" ", "_")
2828
assert_equal(smartdispatch.generate_name_from_command(command, max_length=max_length + date_lenght)[date_lenght:], expected)
2929

3030
# Test path arguments in command

0 commit comments

Comments
 (0)