-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
23 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# NOTE: this is NOT a pytest test. Just run it as a regular Python script. | ||
# pytest does some magic that makes the issue we're trying to test disappear. | ||
|
||
import types | ||
import os | ||
|
||
import dash | ||
|
||
assert isinstance(dash, types.ModuleType), "dash can be imported" | ||
|
||
this_dir = os.path.dirname(__file__) | ||
with open(os.path.join(this_dir, "../../../dash/version.py")) as fp: | ||
assert dash.__version__ in fp.read(), "version is consistent" | ||
|
||
assert ( | ||
getattr(dash, "Dash").__name__ == "Dash" | ||
), "access to main Dash class is valid" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# used implicitly by dash_import_test | ||
# to test https://github.com/plotly/dash/issues/1143 | ||
import dash_core_components as dcc # noqa: F401 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.