Skip to content

Commit

Permalink
Remove getting payload
Browse files Browse the repository at this point in the history
  • Loading branch information
dhblum committed Aug 28, 2023
1 parent 836a309 commit fa5bfed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/test_bestest_air.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ def test_scenario_flag(self):
# Initialize test case scenario
requests.put('{0}/scenario'.format(self.url), json={'time_period':'peak_heat_day'})
# Set simulation step
requests.put('{0}/step'.format(self.url), json={'step':length}).json()['payload']
requests.put('{0}/step'.format(self.url), json={'step':length})
# Simulation Loop
requests.post('{0}/advance'.format(self.url)).json()['payload']
requests.post('{0}/advance'.format(self.url))
# Try submit results to dashboard
status = requests.post("{0}/submit".format(self.url), json={"api_key": 'valid_key',
"unit_test":"True"}).json()['status']
Expand Down

0 comments on commit fa5bfed

Please sign in to comment.