Skip to content

Commit

Permalink
💄 Use assertEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Dec 28, 2018
1 parent cbfa3f5 commit 13f3ad3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def test_external(self):
app.scripts.get_all_scripts()
)

assert resource == [
self.assertEqual(resource, [
'https://external_javascript.js',
'https://external_css.css',
'https://component_library.bundle.js'
]
])

def test_internal(self):
app = dash.Dash(
Expand All @@ -76,14 +76,14 @@ def test_internal(self):
app.scripts.get_all_scripts()
)

assert resource == [
self.assertEqual(resource, [
'/_dash-component-suites/'
'dash_core_components/external_javascript.js?v=1&m=1',
'/_dash-component-suites/'
'dash_core_components/external_css.css?v=1&m=1',
'/_dash-component-suites/'
'dash_core_components/fake_dcc.js?v=1&m=1',
]
])

self.assertTrue(
'fake_dcc.min.js.map'
Expand Down

0 comments on commit 13f3ad3

Please sign in to comment.