Show More
@@ -11,6 +11,7 b'' | |||||
11 | # Imports |
|
11 | # Imports | |
12 | #----------------------------------------------------------------------------- |
|
12 | #----------------------------------------------------------------------------- | |
13 |
|
13 | |||
|
14 | import logging | |||
14 | import os |
|
15 | import os | |
15 | from tempfile import NamedTemporaryFile |
|
16 | from tempfile import NamedTemporaryFile | |
16 |
|
17 | |||
@@ -31,7 +32,7 b' def test_help_output():' | |||||
31 | tt.help_all_output_test('notebook') |
|
32 | tt.help_all_output_test('notebook') | |
32 |
|
33 | |||
33 | def test_server_info_file(): |
|
34 | def test_server_info_file(): | |
34 | nbapp = NotebookApp(profile='nbserver_file_test') |
|
35 | nbapp = NotebookApp(profile='nbserver_file_test', log=logging.getLogger()) | |
35 | def get_servers(): |
|
36 | def get_servers(): | |
36 | return list(notebookapp.list_running_servers(profile='nbserver_file_test')) |
|
37 | return list(notebookapp.list_running_servers(profile='nbserver_file_test')) | |
37 | nbapp.initialize(argv=[]) |
|
38 | nbapp.initialize(argv=[]) |
@@ -14,6 +14,7 b' Module with tests for the PDF post-processor' | |||||
14 | # Imports |
|
14 | # Imports | |
15 | #----------------------------------------------------------------------------- |
|
15 | #----------------------------------------------------------------------------- | |
16 |
|
16 | |||
|
17 | import logging | |||
17 | import os |
|
18 | import os | |
18 |
|
19 | |||
19 | from IPython.testing import decorators as dec |
|
20 | from IPython.testing import decorators as dec | |
@@ -56,7 +57,7 b' class TestPDF(TestsBase):' | |||||
56 | f.write(HELLO_WORLD) |
|
57 | f.write(HELLO_WORLD) | |
57 |
|
58 | |||
58 | # Construct post-processor |
|
59 | # Construct post-processor | |
59 | processor = PDFPostProcessor() |
|
60 | processor = PDFPostProcessor(log=logging.getLogger()) | |
60 | processor.verbose = False |
|
61 | processor.verbose = False | |
61 | processor('a.tex') |
|
62 | processor('a.tex') | |
62 |
|
63 |
General Comments 0
You need to be logged in to leave comments.
Login now