Skip to content

Test and doc updates#39

Merged
ianhelle merged 13 commits intomainfrom
ianhelle/sphinx-rtd-fixes-2022-09-15
Mar 16, 2023
Merged

Test and doc updates#39
ianhelle merged 13 commits intomainfrom
ianhelle/sphinx-rtd-fixes-2022-09-15

Conversation

@ianhelle
Copy link
Copy Markdown
Contributor

This is a bunch of test fixes for msticpy and bokeh compat.
I've also properly mocked ipwhois calls.
It contains an old branch that was just doc updates that was never merged.

petebryan and others added 5 commits September 15, 2022 14:23
- Added docs requirements.txt
- Updated make file to regenerate API docs each time make is run
- Corrected some doc strings in __init__.py and data_providers.py
- Adding regenerated API docs
Fixed bokeh 3.x compatibility
Fixed a few random test errors due to moving of init_function
Added mocks for who_is responses to relevant unittests.
@ianhelle ianhelle requested a review from petebryan March 15, 2023 02:32
@ianhelle ianhelle self-assigned this Mar 15, 2023
…ticpy

Correcting a couple of typos in url_summary
Suppressing some mypy issues due to Bokeh typing changes.
…into ianhelle/sphinx-rtd-fixes-2022-09-15

# Conflicts:
#	msticnb/common.py
#	msticnb/nb/azsent/host/host_logons_summary.py
#	msticnb/nb/azsent/url/url_summary.py
msticpy[azure]==2.3.1
numpy>=1.17.3
pandas>=0.25.3
python-dateutil>=2.8.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think you need to add respx for the unit tests

Fixing calls to ti_lookup - "observable" parameter changed to "ioc" in ip_summary.py, url_summary.py, ti_enrich.py
Removing alert summary code to separate function in host_summary.py
Add mock for missed call in test_ip_summary.py
@ianhelle ianhelle merged commit b4a7482 into main Mar 16, 2023
@ianhelle ianhelle deleted the ianhelle/sphinx-rtd-fixes-2022-09-15 branch March 16, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants