Show More
@@ -4,8 +4,6 | |||
|
4 | 4 | import os |
|
5 | 5 | import tempfile |
|
6 | 6 | |
|
7 | import nose.tools as nt | |
|
8 | ||
|
9 | 7 | from traitlets import Unicode |
|
10 | 8 | |
|
11 | 9 | from IPython.core.application import BaseIPythonApplication |
@@ -65,9 +63,8 def test_cli_priority(): | |||
|
65 | 63 | f.write("c.TestApp.test = 'config file'") |
|
66 | 64 | |
|
67 | 65 | app = TestApp() |
|
68 |
app.initialize([ |
|
|
69 |
|
|
|
66 | app.initialize(["--profile-dir", td]) | |
|
67 | assert app.test == "config file" | |
|
70 | 68 | app = TestApp() |
|
71 |
app.initialize([ |
|
|
72 |
|
|
|
73 | ||
|
69 | app.initialize(["--profile-dir", td, "--TestApp.test=cli"]) | |
|
70 | assert app.test == "cli" |
General Comments 0
You need to be logged in to leave comments.
Login now