示例#1
0
def test_undo_snake_case_key_bad_value_type():
    with pytest.raises(AssertionError):
        undo_snake_case_key(1)
示例#2
0
def test_undo_snake_case_key_one_item():
    undo_key = undo_snake_case_key('key')
    assert undo_key == 'key'
示例#3
0
def test_undo_snake_case_key_one_item():
    undo_key = undo_snake_case_key("key")
    assert undo_key == "key"
示例#4
0
def test_undo_snake_case_key():
    undo_key = undo_snake_case_key('snake_key')
    assert undo_key == 'snakeKey'
示例#5
0
def test_undo_snake_case_key():
    undo_key = undo_snake_case_key("snake_key")
    assert undo_key == "snakeKey"