Add --glob and --location flags to hist and question commands, to be able to specify the location and files they should use.
This commit is contained in:
+2
-1
@@ -240,7 +240,8 @@ class TestChatDB(TestChatBase):
|
||||
msg_to_file_force_suffix(duplicate_message)
|
||||
with self.assertRaises(ChatError) as cm:
|
||||
ChatDB.from_dir(pathlib.Path(self.cache_path.name),
|
||||
pathlib.Path(self.db_path.name))
|
||||
pathlib.Path(self.db_path.name),
|
||||
glob='*')
|
||||
self.assertEqual(str(cm.exception), "Validation failed")
|
||||
|
||||
def test_file_path_ID_exists(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user