Skip to content

Commit 8055ef4

Browse files
Samuel FORESTIERHorlogeSkynet
authored andcommitted
Removes useless include_lsb=True parameter in tests
1 parent 526df13 commit 8055ef4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tests/test_distro.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ def setup_method(self, test_method: FunctionType) -> None:
505505
dist = test_method.__name__.split("_")[1]
506506
self._setup_for_distro(os.path.join(DISTROS_DIR, dist))
507507
self.distro = distro.LinuxDistribution(
508-
include_lsb=True,
509508
os_release_file="path-to-non-existing-file",
510509
distro_release_file="path-to-non-existing-file",
511510
)
@@ -611,7 +610,6 @@ def test_ubuntu14normal_lsb_release(self) -> None:
611610
self._setup_for_distro(os.path.join(TESTDISTROS, "lsb", "ubuntu14_normal"))
612611

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

633631
self.distro = distro.LinuxDistribution(
634-
include_lsb=True,
635632
os_release_file="path-to-non-existing-file",
636633
distro_release_file="path-to-non-existing-file",
637634
)
@@ -653,7 +650,6 @@ def test_trailingblanks_lsb_release(self) -> None:
653650
)
654651

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

676672
lsb_release_info = distro.LinuxDistribution(
677-
include_lsb=True,
678673
os_release_file="path-to-non-existing-file",
679674
distro_release_file="path-to-non-existing-file",
680675
)._lsb_release_info

0 commit comments

Comments
 (0)