Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit b5b071e

Browse files
authored
Reenable dashboard tests. (#352)
1 parent bb346d2 commit b5b071e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

dashboard/test_dashboard_builder.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ class TestResultHolderGetResult(unittest.TestCase):
6868
patch_finder = mock.patch('dashboard_builder.deprecated_dep_finder.DeprecatedDepFinder', _DeprecatedDepFinder)
6969
patch_highlighter = mock.patch('dashboard_builder.dependency_highlighter.DependencyHighlighter', _DependencyHighlighter)
7070

71-
@unittest.skip('TODO: unskip after letting new data populate')
7271
def test_self_compatibility_success(self):
7372
package_to_results = {
7473
PACKAGE_1: [compatibility_store.CompatibilityResult(
@@ -92,7 +91,6 @@ def test_self_compatibility_success(self):
9291
rh.get_result(PACKAGE_1, PACKAGE_1),
9392
expected)
9493

95-
@unittest.skip('TODO: unskip after letting new data populate')
9694
def test_self_compatibility_error(self):
9795
package_to_results = {
9896
PACKAGE_1: [compatibility_store.CompatibilityResult(
@@ -124,7 +122,6 @@ def test_self_compatibility_error(self):
124122
rh.get_result(PACKAGE_1, PACKAGE_1),
125123
expected)
126124

127-
@unittest.skip('TODO: unskip after letting new data populate')
128125
def test_self_compatibility_no_entry(self):
129126
package_to_results = {PACKAGE_1: []}
130127

@@ -143,7 +140,6 @@ def test_self_compatibility_no_entry(self):
143140
rh.get_result(PACKAGE_1, PACKAGE_1),
144141
expected)
145142

146-
@unittest.skip('TODO: unskip after letting new data populate')
147143
def test_pairwise_success(self):
148144
package_to_results = {
149145
PACKAGE_1: [compatibility_store.CompatibilityResult(
@@ -182,7 +178,6 @@ def test_pairwise_success(self):
182178
rh.get_result(PACKAGE_1, PACKAGE_2),
183179
expected)
184180

185-
@unittest.skip('TODO: unskip after letting new data populate')
186181
def test_pairwise_error(self):
187182
package_to_results = {
188183
PACKAGE_1: [compatibility_store.CompatibilityResult(
@@ -224,7 +219,6 @@ def test_pairwise_error(self):
224219
rh.get_result(PACKAGE_1, PACKAGE_2),
225220
expected)
226221

227-
@unittest.skip('TODO: unskip after letting new data populate')
228222
def test_pairwise_no_entry(self):
229223
package_to_results = {
230224
PACKAGE_1: [compatibility_store.CompatibilityResult(
@@ -257,7 +251,6 @@ def test_pairwise_no_entry(self):
257251
rh.get_result(PACKAGE_1, PACKAGE_2),
258252
expected)
259253

260-
@unittest.skip('TODO: unskip after letting new data populate')
261254
def test_get_package_details(self):
262255
package_with_dependency_info = {
263256
'package1': {
@@ -311,7 +304,6 @@ class TestResultHolderHasIssues(unittest.TestCase):
311304
'dashboard_builder.dependency_highlighter.DependencyHighlighter',
312305
_DependencyHighlighter)
313306

314-
@unittest.skip('TODO: unskip after letting new data populate')
315307
def test_no_issues(self):
316308
package_to_results = {
317309
PACKAGE_1: [compatibility_store.CompatibilityResult(
@@ -341,7 +333,6 @@ def test_no_issues(self):
341333
self.assertFalse(rh.has_issues(PACKAGE_1))
342334
self.assertFalse(rh.has_issues(PACKAGE_2))
343335

344-
@unittest.skip('TODO: unskip after letting new data populate')
345336
def test_self_issues(self):
346337
package_to_results = {
347338
PACKAGE_1: [compatibility_store.CompatibilityResult(
@@ -373,7 +364,6 @@ def test_self_issues(self):
373364
self.assertTrue(rh.has_issues(PACKAGE_1))
374365
self.assertFalse(rh.has_issues(PACKAGE_2))
375366

376-
@unittest.skip('TODO: unskip after letting new data populate')
377367
def test_pairwise_issues(self):
378368
package_to_results = {
379369
PACKAGE_1: [compatibility_store.CompatibilityResult(
@@ -414,7 +404,6 @@ class TestGridBuilder(unittest.TestCase):
414404
'dashboard_builder.dependency_highlighter.DependencyHighlighter',
415405
_DependencyHighlighter)
416406

417-
@unittest.skip('TODO: unskip after letting new data populate')
418407
def test_success(self):
419408
"""CompatibilityResult available for all packages and pairs."""
420409
packages = [PACKAGE_1, PACKAGE_2]
@@ -445,7 +434,6 @@ def test_success(self):
445434
builder = dashboard_builder.DashboardBuilder(packages, results)
446435
builder.build_dashboard('dashboard/grid-template.html')
447436

448-
@unittest.skip('TODO: unskip after letting new data populate')
449437
def test_self_failure(self):
450438
"""CompatibilityResult failure installing a single package."""
451439
packages = [PACKAGE_1, PACKAGE_2]
@@ -474,7 +462,6 @@ def test_self_failure(self):
474462
html_grid = builder.build_dashboard('dashboard/grid-template.html')
475463
self.assertIn("Installation failure", html_grid)
476464

477-
@unittest.skip('TODO: unskip after letting new data populate')
478465
def test_missing_pairwise(self):
479466
"""CompatibilityResult not available for a pair of packages."""
480467
packages = [PACKAGE_1, PACKAGE_2]
@@ -501,7 +488,6 @@ def test_missing_pairwise(self):
501488
builder = dashboard_builder.DashboardBuilder(packages, results)
502489
builder.build_dashboard('dashboard/grid-template.html')
503490

504-
@unittest.skip('TODO: unskip after letting new data populate')
505491
def test_missing_self(self):
506492
"""CompatibilityResult not available for individual packages."""
507493
packages = [PACKAGE_1, PACKAGE_2]
@@ -523,7 +509,6 @@ def test_missing_self(self):
523509
builder = dashboard_builder.DashboardBuilder(packages, results)
524510
builder.build_dashboard('dashboard/grid-template.html')
525511

526-
@unittest.skip('TODO: unskip after letting new data populate')
527512
def test_pairwise_failure(self):
528513
"""CompatibilityResult failure between pair of packages."""
529514
packages = [PACKAGE_1, PACKAGE_2]
@@ -557,7 +542,6 @@ def test_pairwise_failure(self):
557542
html_grid = builder.build_dashboard('dashboard/grid-template.html')
558543
self.assertIn("Installation failure", html_grid)
559544

560-
@unittest.skip('TODO: unskip after letting new data populate')
561545
def test_not_show_py_ver_incompatible_results(self):
562546
"""CompatibilityResult failure between pair of packages. Do not display
563547
the packages that are incompatible with a specific Python version.

0 commit comments

Comments
 (0)