-
Notifications
You must be signed in to change notification settings - Fork 9
Adding physical_locations_CDA_test.py #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Adding physical_locations_CDA_test.py
Fixed tests
Update physical_locations_CDA_test.py
| df_final = locations.get_locations( | ||
| office_id=TEST_OFFICE, location_ids=TEST_LOCATION_ID | ||
| ).df | ||
| assert TEST_LOCATION_ID not in df_final["name"].values |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if there are no location the df from the get_locations call is empty. That is why your test is erroring out. You can either add 2 locations and then using the same assert. or check if it is empty. just checking that it is empty might not work if there is a lagging locations from another test hanging around. I would maybe place this test as the last test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the test and added the second location.
Made changes
Update physical_locations_CDA_test.py
|



No description provided.