Skip to content

Commit

Permalink
Update NBTest_036_Manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewcasale committed Sep 20, 2023
1 parent 1020c71 commit 79b8426
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/NBTest/NBTest_036_Manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.13.1
# jupytext_version: 1.15.2
# kernelspec:
# display_name: Python 3
# language: python
Expand Down Expand Up @@ -95,7 +95,10 @@
# ## test_update_from_event_carbon_v1_update

# +
event_create_for_update = event_data['carbon_v1_event_create_for_update']
event = event_data['carbon_v1_event_update']

manager.update_from_event(event_create_for_update)
assert event['args']['order0'][0] != [pool['y_0'] for pool in manager.pool_data if pool['cid'] == event['args']['id']][0]

manager.update_from_event(event)
Expand Down

0 comments on commit 79b8426

Please sign in to comment.