Skip to content

Commit 4fc4bc7

Browse files
committed
added amltk validity pytest
1 parent 3f22e64 commit 4fc4bc7

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import unittest
2+
3+
import pandas as pd
4+
5+
from deepcave.runs.converters.amltk import AMLTKRun
6+
7+
8+
class TestOptunaConverter(unittest.TestCase):
9+
def setUp(self) -> None:
10+
self.run_path = "logs/AMLTK/optuna_optimizer/run_1"
11+
return pd.set_option("display.max_columns", None)
12+
13+
def testValidRun(self):
14+
AMLTKRun.is_valid_run(self.run_path)
15+
16+
def testReadRun(self):
17+
AMLTKRun.from_path(self.run_path)

0 commit comments

Comments
 (0)