Skip to content

Commit

Permalink
Correct test: resource objects always have "attributes" in json api s…
Browse files Browse the repository at this point in the history
…pec.

Closes marshmallow-code#133
  • Loading branch information
Adrian committed Nov 8, 2019
1 parent 0403f3c commit a4cdc1d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,10 @@ def test_load_n_dump_same_schema(self):
{
"type": "people",
"id": "1",
"first_name": fake.first_name(),
"last_name": fake.last_name(),
"attributes": {
"first_name": fake.first_name(),
"last_name": fake.last_name(),
},
}
],
}
Expand Down

0 comments on commit a4cdc1d

Please sign in to comment.