test: speed up CI and harden the suite
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"""Tests for abbreviate_path utility."""
|
||||
|
||||
import os
|
||||
|
||||
from nanobot.utils.path import abbreviate_path
|
||||
|
||||
|
||||
@@ -9,7 +10,6 @@ class TestAbbreviatePathShort:
|
||||
assert abbreviate_path("/home/user/file.py") == "/home/user/file.py"
|
||||
|
||||
def test_exact_max_len_unchanged(self):
|
||||
path = "/a/b/c" # 7 chars
|
||||
assert abbreviate_path("/a/b/c", max_len=7) == "/a/b/c"
|
||||
|
||||
def test_basename_only(self):
|
||||
|
||||
Reference in New Issue
Block a user