Skip to content

Commit

Permalink
Updated test for dynamic version
Browse files Browse the repository at this point in the history
  • Loading branch information
susanhooks-al committed Mar 22, 2023
1 parent 440b93c commit b7132f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_nautobot_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

# Third Party Imports
import pytest
import requests
from requests.sessions import Session
from requests_mock import Mocker
from nornir import InitNornir
Expand Down Expand Up @@ -99,7 +100,7 @@ def test_nornir_nautobot_missing_token():

def test_api_session(nornir_nautobot_class):
expected_headers = {
"User-Agent": "python-requests/2.28.1",
"User-Agent": f"python-requests/{requests.__version__}",
"Accept-Encoding": "gzip, deflate",
"Accept": "*/*",
"Connection": "keep-alive",
Expand Down

0 comments on commit b7132f9

Please sign in to comment.