-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding copier answers and manually updating github action files from template * updated jupyterlab link in README * lint updates * lint updates, added awaits for async calls, move jobid sort * change version * fix version string * fix version string * apply prettier updates * apply stylelint updates * diable tests for now * adding changelog * inserting basic test setup * disable looking for unit tests in src * update CHANGELOG contents for template * update console message to satisfy ui test
- Loading branch information
1 parent
3953297
commit 1727595
Showing
26 changed files
with
677 additions
and
328 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
_commit: v4.3.5 | ||
_src_path: https://github.com/jupyterlab/extension-template | ||
author_email: [email protected] | ||
author_name: Matt Henderson | ||
has_binder: false | ||
has_settings: true | ||
kind: server | ||
labextension_name: jupyterlab-slurm | ||
project_short_description: A JupyterLab extension to interface with the Slurm workload | ||
manager. | ||
python_name: jupyterlab_slurm | ||
repository: https://github.com/NERSC/jupyterlab-slurm | ||
test: true | ||
|
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,5 @@ | ||
# Changelog | ||
|
||
<!-- <START NEW CHANGELOG ENTRY> --> | ||
|
||
<!-- <END NEW CHANGELOG ENTRY> --> |
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,8 @@ | ||
import pytest | ||
|
||
pytest_plugins = ("pytest_jupyter.jupyter_server", ) | ||
|
||
|
||
@pytest.fixture | ||
def jp_server_config(jp_server_config): | ||
return {"ServerApp": {"jpserver_extensions": {"jupyterlab_slurm": True}}} |
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
"jupyterlab_slurm": true | ||
} | ||
} | ||
} | ||
} |
Empty file.
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,12 @@ | ||
import json | ||
|
||
|
||
async def test_get_example(jp_fetch): | ||
response = await jp_fetch("jupyterlab_slurm", "get_example") | ||
|
||
assert response.code == 200 | ||
payload = json.loads(response.body) | ||
expected_payload = { | ||
"data": "This is the /jupyterlab_slurm/get_example endpoint!" | ||
} | ||
assert payload == expected_payload |
Oops, something went wrong.