Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applied patch for marking network changes #1527

Merged
merged 1 commit into from
Feb 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nbconvert/exporters/tests/test_webpdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class TestWebPDFExporter(ExportersTestsBase):

exporter_class = WebPDFExporter

@pytest.mark.network
def test_export(self):
"""
Can a TemplateExporter export something?
Expand Down
5 changes: 3 additions & 2 deletions nbconvert/tests/test_nbconvertapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def test_filename_spaces(self):
)
assert os.path.isfile('notebook with spaces.pdf')

@pytest.mark.network
def test_webpdf_with_chromium(self):
"""
Generate PDFs if chromium allowed to be downloaded?
Expand Down Expand Up @@ -356,8 +357,8 @@ def test_cell_tag_output(self):
text = f.read()
assert 'celltag_mycelltag celltag_mysecondcelltag' in text
assert 'celltag_mymarkdowncelltag' in text


def test_no_input(self):
"""
Verify that the html has no input when given --no-input.
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ license_file = LICENSE
ignore =
nbconvert/resources/style.min.css
.circleci/*

[tool:pytest]
markers =
network: marks tests which require network connection