Skip to content

Commit 1f33d6b

Browse files
committed
Fixed issue in validator and tests.
1 parent ba2ba55 commit 1f33d6b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dynatademand/validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def validate_request(self, endpoint_name, path_data=None, query_params=None, req
6666
if query_params is None:
6767
query_params = {}
6868
if request_body is None:
69-
query_params = {}
69+
request_body = {}
7070

7171
'''
7272
# TODO: None of the path schemas from the documentation are currently valid.

tests/test_line_items.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def test_add_line_item(self):
7676
self.api.add_line_item(24, new_lineitem_data)
7777
self.assertEqual(len(responses.calls), 2)
7878

79+
@responses.activate
7980
def test_launch_line_item(self):
8081
# Tests closing a project.
8182
responses.add(

0 commit comments

Comments
 (0)