def test_parse_tinydboption_apply(tmpdir): exp = Experiment() args = os.path.join(tmpdir.strpath) TinyDbOption.apply(args, exp) assert type(exp.observers[0]) == TinyDbObserver
def test_parse_tinydb_arg(): assert TinyDbOption.parse_tinydb_arg('foo') == 'foo'
def test_parse_tinydb_arg(): assert TinyDbOption.parse_tinydb_arg("foo") == "foo"