diff --git a/.travis.yml b/.travis.yml index 6772335..7fee39f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,13 +3,9 @@ language: python cache: - pip python: -- '3.5' -- '3.6' -- '3.7' - '3.8' - '3.9' -# workaround for https://travis-ci.community/t/add-python-3-10/12220/12 -- '3.10.1' +- '3.11' before_install: - pip install -U pip - pip install -U setuptools diff --git a/src/redfish/rest/v1.py b/src/redfish/rest/v1.py index 6de6a94..db9d0ec 100644 --- a/src/redfish/rest/v1.py +++ b/src/redfish/rest/v1.py @@ -1015,9 +1015,6 @@ def login(self, username=None, password=None, auth=AuthMethod.SESSION): except: pass raise SessionCreationError('HTTP {}: Failed to created the session\n{}'.format(resp.status, error_str)) - else: - self.set_username(None) - self.set_password(None) else: pass diff --git a/tox.ini b/tox.ini index 4216555..ba04787 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py35,py36,py37,py38,py39,py310 +envlist = py38,py39,py311 [testenv] usedevelop = True @@ -18,4 +18,4 @@ deps = flake8 commands = flake8 tests/ src/redfish/discovery [travis] -python = 3.7: py37 +python = 3.11: py311