Exemple #1
0
def test_true_param():
    with pytest.warns(DeprecationWarning):
        assert util.true_param("N") is True
        assert util.true_param("limit_N") is False
        assert util.true_param("error_N") is False
        assert util.true_param("fix_N") is False
Exemple #2
0
def test_true_param():
    assert_true(true_param('N'))
    assert_false(true_param('limit_N'))
    assert_false(true_param('error_N'))
    assert_false(true_param('fix_N'))
Exemple #3
0
def test_true_param():
    assert true_param('N') is True
    assert true_param('limit_N') is False
    assert true_param('error_N') is False
    assert true_param('fix_N') is False
Exemple #4
0
def test_true_param():
    assert true_param("N") is True
    assert true_param("limit_N") is False
    assert true_param("error_N") is False
    assert true_param("fix_N") is False
Exemple #5
0
def test_true_param():
    assert true_param('N') is True
    assert true_param('limit_N') is False
    assert true_param('error_N') is False
    assert true_param('fix_N') is False