Skip to content

Commit

Permalink
Update test_description
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninnjah committed Oct 30, 2024
1 parent f8ec2bd commit 57624ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ def test_de_json_none(self, client):
assert Description.de_json({}, client) is None

def test_de_json_required(self, client):
json_dict = {'text': self.text, 'uri': self.uri}
json_dict = {'text': self.text}
description = Description.de_json(json_dict, client)

assert description.text == self.text
assert description.uri == self.uri

def test_de_json_all(self, client):
json_dict = {'text': self.text, 'uri': self.uri}
Expand Down

0 comments on commit 57624ef

Please sign in to comment.