mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 17:55:26 -04:00
Save only string personal doc paths (#1566)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
from src import personal_docs
|
||||
|
||||
|
||||
def test_string_list_filters_non_strings():
|
||||
assert personal_docs._string_list(["/tmp/a", None, 3, "/tmp/b"]) == ["/tmp/a", "/tmp/b"]
|
||||
assert personal_docs._string_list(None) == []
|
||||
Reference in New Issue
Block a user