File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
layer/nrlf/core/dynamodb/tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ def test_get_sk_ids_for_type_exception_thrown_for_invalid_type():
1313
1414def test_get_sk_ids_for_type_returns_type_and_category_for_every_type ():
1515 for each in PointerTypes .list ():
16- category , type = _get_sk_ids_for_type (each )
17- assert category and type
16+ category , pointer_type = _get_sk_ids_for_type (each )
17+ assert category and pointer_type
1818
1919
2020def test_get_sk_ids_for_type_exception_thrown_if_new_type_has_no_category ():
2121 pointer_types = PointerTypes .list ()
2222 pointer_types .append ("some_pointer_type" )
2323 with pytest .raises (ValueError ) as error :
2424 for each in pointer_types :
25- category , type = _get_sk_ids_for_type (each )
26- assert category and type
25+ category , pointer_type = _get_sk_ids_for_type (each )
26+ assert category and pointer_type
2727
2828 assert (
2929 str (error .value ) == "Cannot find category for pointer type: some_pointer_type"
You can’t perform that action at this time.
0 commit comments