-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop producing the Weekly restoration expiry job #11651 (#1228)
Signed-off-by: Chen <[email protected]>
- Loading branch information
1 parent
d9a48c6
commit a410624
Showing
9 changed files
with
120 additions
and
289 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Notebook Report Job CD | ||
name: Namex Notebook Report Job CD | ||
|
||
on: | ||
push: | ||
|
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
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 @@ | ||
"""init for the notebook.""" |
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 |
---|---|---|
@@ -1,25 +1,20 @@ | ||
"""conftest for the notebook.""" | ||
import pytest | ||
from flask import current_app | ||
|
||
from notebookreport import create_app | ||
|
||
from config import Config | ||
from notebookreport import create_app | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
@pytest.fixture(scope='session') | ||
def app(request): | ||
""" | ||
Returns session-wide application. | ||
""" | ||
"""Init apps and Returns session-wide application.""" | ||
app = create_app(Config) | ||
|
||
return app | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
@pytest.fixture(scope='session') | ||
def client_ctx(app): | ||
""" | ||
Returns session-wide Flask test client. | ||
""" | ||
"""Init client and returns session-wide Flask test client.""" | ||
with app.test_client() as c: | ||
yield c |
Oops, something went wrong.