1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Pol Dellaiera <pol.dellaiera@protonmail.com>
Date: Tue, 15 Apr 2025 22:46:15 +0200
Subject: fix: update test, make it pass
---
tests/test_api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_api.py b/tests/test_api.py
index 226e2a6..5ea96e2 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -83,7 +83,7 @@ class TestTessBaseApi(unittest.TestCase):
self._api.End()
self._api.InitFull(configs=configs, variables=vars_)
# assert file_type from box.train and custom edges_childarea
- self.assertEqual(self._api.GetVariableAsString("file_type"), ".bl")
+ self.assertEqual(self._api.GetVariableAsString("file_type"), ".tif")
self.assertEqual(self._api.GetVariableAsString("edges_childarea"), "0.7")
# reset back to default
self._api.End()
|