Пример #1
0
def test_parse_tinydboption_apply(tmpdir):

    exp = Experiment()
    args = os.path.join(tmpdir.strpath)

    TinyDbOption.apply(args, exp)
    assert type(exp.observers[0]) == TinyDbObserver
Пример #2
0
def test_parse_tinydboption_apply(tmpdir):

    exp = Experiment()
    args = os.path.join(tmpdir.strpath)

    TinyDbOption.apply(args, exp)
    assert type(exp.observers[0]) == TinyDbObserver
Пример #3
0
def test_parse_tinydb_arg():
    assert TinyDbOption.parse_tinydb_arg('foo') == 'foo'
Пример #4
0
def test_parse_tinydb_arg():
    assert TinyDbOption.parse_tinydb_arg("foo") == "foo"
Пример #5
0
def test_parse_tinydb_arg():
    assert TinyDbOption.parse_tinydb_arg('foo') == 'foo'