Skip to content

Commit cebe1e6

Browse files
authored
Update test.py
#53
1 parent a7748c3 commit cebe1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_get_with_id_filter(self):
7272

7373
def test_post_with_no_param(self):
7474
result = self.client.sender.create(data={}).json()
75-
self.assertTrue('StatusCode' in result and result['StatusCode'] is not 400)
75+
self.assertTrue('StatusCode' in result and result['StatusCode'] == 400)
7676

7777
def test_client_custom_version(self):
7878
self.client = Client(

0 commit comments

Comments
 (0)