Skip to content

Commit

Permalink
Removes useless include_lsb=True parameter in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel FORESTIER authored and HorlogeSkynet committed Feb 13, 2022
1 parent 526df13 commit 8055ef4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_distro.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ def setup_method(self, test_method: FunctionType) -> None:
dist = test_method.__name__.split("_")[1]
self._setup_for_distro(os.path.join(DISTROS_DIR, dist))
self.distro = distro.LinuxDistribution(
include_lsb=True,
os_release_file="path-to-non-existing-file",
distro_release_file="path-to-non-existing-file",
)
Expand Down Expand Up @@ -611,7 +610,6 @@ def test_ubuntu14normal_lsb_release(self) -> None:
self._setup_for_distro(os.path.join(TESTDISTROS, "lsb", "ubuntu14_normal"))

self.distro = distro.LinuxDistribution(
include_lsb=True,
os_release_file="path-to-non-existing-file",
distro_release_file="path-to-non-existing-file",
)
Expand All @@ -631,7 +629,6 @@ def test_ubuntu14nomodules_lsb_release(self) -> None:
self._setup_for_distro(os.path.join(TESTDISTROS, "lsb", "ubuntu14_nomodules"))

self.distro = distro.LinuxDistribution(
include_lsb=True,
os_release_file="path-to-non-existing-file",
distro_release_file="path-to-non-existing-file",
)
Expand All @@ -653,7 +650,6 @@ def test_trailingblanks_lsb_release(self) -> None:
)

self.distro = distro.LinuxDistribution(
include_lsb=True,
os_release_file="path-to-non-existing-file",
distro_release_file="path-to-non-existing-file",
)
Expand All @@ -674,7 +670,6 @@ def test_lsb_release_error_level(self, errnum: str) -> None:
self._setup_for_distro(os.path.join(TESTDISTROS, "lsb", f"lsb_rc{errnum}"))

lsb_release_info = distro.LinuxDistribution(
include_lsb=True,
os_release_file="path-to-non-existing-file",
distro_release_file="path-to-non-existing-file",
)._lsb_release_info
Expand Down

0 comments on commit 8055ef4

Please sign in to comment.