Skip to content

Commit 7dbd474

Browse files
committed
bis
1 parent 6ed42cb commit 7dbd474

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

smartdispatch/tests/test_smartdispatch.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ def test_generate_name_from_command():
2323
assert_equal(smartdispatch.generate_name_from_command(command, max_length_arg)[date_lenght:], expected)
2424

2525
max_length = 23
26-
long_arg = "veryverylongarg1"
2726
command = "command veryverylongarg1 veryverylongarg1 veryverylongarg1 veryverylongarg1"
28-
expected = command.split()
29-
expected = "_".join(expected)[max_length:]
27+
expected = command[max_length:]
3028
assert_equal(smartdispatch.generate_name_from_command(command, max_length=max_length + date_lenght)[date_lenght:], expected)
3129

3230
# Test path arguments in command

0 commit comments

Comments
 (0)