Skip to content

Commit

Permalink
Black
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaspuff committed Jan 4, 2020
1 parent 9d00bc8 commit 493038e
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions tests/test_snake_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,33 @@ def values(**kwargs):
),
(
KEYWORD_SNAKE_CASE_RECURSIVE,
{"resources": [{"resourceId": "1", "data": "ABC", "other-value": True}, {"resourceId": "2", "data": "DEF", "other-value": True}]},
{"resources": [{"resource_id": "1", "data": "ABC", "other_value": True}, {"resource_id": "2", "data": "DEF", "other_value": True}]},
{
"resources": [
{"resourceId": "1", "data": "ABC", "other-value": True},
{"resourceId": "2", "data": "DEF", "other-value": True},
]
},
{
"resources": [
{"resource_id": "1", "data": "ABC", "other_value": True},
{"resource_id": "2", "data": "DEF", "other_value": True},
]
},
),
(
KEYWORD_SNAKE_CASE,
{"resources": [{"resourceId": "1", "data": "ABC", "other-value": True}, {"resourceId": "2", "data": "DEF", "other-value": True}]},
{"resources": [{"resourceId": "1", "data": "ABC", "other-value": True}, {"resourceId": "2", "data": "DEF", "other-value": True}]},
{
"resources": [
{"resourceId": "1", "data": "ABC", "other-value": True},
{"resourceId": "2", "data": "DEF", "other-value": True},
]
},
{
"resources": [
{"resourceId": "1", "data": "ABC", "other-value": True},
{"resourceId": "2", "data": "DEF", "other-value": True},
]
},
),
],
)
Expand Down

0 comments on commit 493038e

Please sign in to comment.