File tree Expand file tree Collapse file tree 4 files changed +8
-24
lines changed
Expand file tree Collapse file tree 4 files changed +8
-24
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def setUp(self) -> None:
7272 Setups everything we need.
7373 """
7474
75- upstream_result = super ().setUp ()
75+ super ().setUp ()
7676
7777 self .checker = DomainReputationChecker ()
7878 self .checker .ipv4_reputation_query_tool .source_file = self .tempfile .name
@@ -83,22 +83,18 @@ def setUp(self) -> None:
8383 # Not needed in this scope :-)
8484 self .checker .do_syntax_check_first = False
8585
86- return upstream_result
87-
8886 def tearDown (self ) -> None :
8987 """
9088 Destroys everything previously initiated for the tests.
9189 """
9290
93- upstream_result = super ().tearDown ()
91+ super ().tearDown ()
9492
9593 self .dns_query_tool_path .stop ()
9694
9795 del self .dns_query_tool_path
9896 del self .mock_query_tool
9997
100- return upstream_result
101-
10298 def test_query_status_positive (self ) -> None :
10399 """
104100 Tests the method which let us query the status for the case that
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def setUp(self) -> None:
7272 Setups everything we need.
7373 """
7474
75- upstream_result = super ().setUp ()
75+ super ().setUp ()
7676
7777 self .checker = DomainAndIPReputationChecker ()
7878 self .checker .ipv4_reputation_query_tool .source_file = self .tempfile .name
@@ -83,22 +83,18 @@ def setUp(self) -> None:
8383 # Not needed in this scope :-)
8484 self .checker .do_syntax_check_first = False
8585
86- return upstream_result
87-
8886 def tearDown (self ) -> None :
8987 """
9088 Destroys everything previously initiated for the tests.
9189 """
9290
93- upstream_result = super ().tearDown ()
91+ super ().tearDown ()
9492
9593 self .dns_query_tool_path .stop ()
9694
9795 del self .dns_query_tool_path
9896 del self .mock_query_tool
9997
100- return upstream_result
101-
10298 def test_query_status_domain (self ) -> None :
10399 """
104100 Tests the method which let us query the status for the case that
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def setUp(self) -> None:
7272 Setups everything we need.
7373 """
7474
75- upstream_result = super ().setUp ()
75+ super ().setUp ()
7676
7777 self .checker = IPReputationChecker ()
7878 self .checker .ipv4_reputation_query_tool .source_file = self .tempfile .name
@@ -83,22 +83,18 @@ def setUp(self) -> None:
8383 # Not needed in this scope :-)
8484 self .checker .do_syntax_check_first = False
8585
86- return upstream_result
87-
8886 def tearDown (self ) -> None :
8987 """
9088 Destroys everything previously initiated for the tests.
9189 """
9290
93- upstream_result = super ().tearDown ()
91+ super ().tearDown ()
9492
9593 self .dns_query_tool_path .stop ()
9694
9795 del self .dns_query_tool_path
9896 del self .mock_query_tool
9997
100- return upstream_result
101-
10298 def test_query_status_positive_ipv4 (self ) -> None :
10399 """
104100 Tests the method which let us query the status for the case that
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def setUp(self) -> None:
7272 Setups everything we need.
7373 """
7474
75- upstream_result = super ().setUp ()
75+ super ().setUp ()
7676
7777 self .checker = URLReputationChecker ()
7878 self .checker .ipv4_reputation_query_tool .source_file = self .tempfile .name
@@ -83,22 +83,18 @@ def setUp(self) -> None:
8383 # Not needed in this scope :-)
8484 self .checker .do_syntax_check_first = False
8585
86- return upstream_result
87-
8886 def tearDown (self ) -> None :
8987 """
9088 Destroys everything previously initiated for the tests.
9189 """
9290
93- upstream_result = super ().tearDown ()
91+ super ().tearDown ()
9492
9593 self .dns_query_tool_path .stop ()
9694
9795 del self .dns_query_tool_path
9896 del self .mock_query_tool
9997
100- return upstream_result
101-
10298 def test_query_status_positive_domain (self ) -> None :
10399 """
104100 Tests the method which let us query the status for the case that
You can’t perform that action at this time.
0 commit comments