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