Skip to content

Commit d5f1bc3

Browse files
committed
Replace test command.
1 parent 1acb39d commit d5f1bc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

{{cookiecutter.project_shortname}}/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ If you have selected install_dependencies during the prompt, you can skip this p
7575
- Include CSS files in your distribution folder (`{{cookiecutter.project_shortname}}`) and reference them in `MANIFEST.in`
7676
- The `tests` folder contains a sample integration test. This will run a sample Dash app in a browser. Run this with:
7777
```
78-
$ python -m unittest tests.test_render
78+
$ pytest tests
7979
```
8080
The Dash team uses these types of integration tests extensively. Browse the Dash component code on GitHub for more examples of testing (e.g. https://github.com/plotly/dash-core-components)
8181
- Publishing your component to NPM will make the JavaScript bundles available on the unpkg CDN. By default, Dash servers the component library's CSS and JS from the remote unpkg CDN, so if you haven't published the component package to NPM you'll need to set the `serve_locally` flags to `True` (unless you choose `False` on `publish_on_npm`). We will eventually make `serve_locally=True` the default, [follow our progress in this issue](https://github.com/plotly/dash/issues/284).

{{cookiecutter.project_shortname}}/_validate_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def check_dist(dist, filename):
3333
for d in dist
3434
for x in (
3535
[d.get('relative_package_path')]
36-
if isinstance(d.get('relative_package_path'), str)
36+
if not isinstance(d.get('relative_package_path'), list)
3737
else d.get('relative_package_path')
3838
)
3939
)

0 commit comments

Comments
 (0)