Browse files

raise test log_level, to prevent output during tests

  • Loading branch information...
1 parent bfbb92f commit 070ea8a7d2039eed767b9f9c0b07bf179a7166f4 @minrk committed May 20, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 IPython/config/tests/test_application.py
View
6 IPython/config/tests/test_application.py
@@ -78,16 +78,16 @@ def test_basic(self):
def test_config(self):
app = MyApp()
- app.parse_command_line(["i=10","Foo.j=10","enabled=False","log_level=0"])
+ app.parse_command_line(["i=10","Foo.j=10","enabled=False","log_level=50"])
config = app.config
self.assertEquals(config.Foo.i, 10)
self.assertEquals(config.Foo.j, 10)
self.assertEquals(config.Bar.enabled, False)
- self.assertEquals(config.MyApp.log_level,0)
+ self.assertEquals(config.MyApp.log_level,50)
def test_config_propagation(self):
app = MyApp()
- app.parse_command_line(["i=10","Foo.j=10","enabled=False","log_level=0"])
+ app.parse_command_line(["i=10","Foo.j=10","enabled=False","log_level=50"])
app.init_foo()
app.init_bar()
self.assertEquals(app.foo.i, 10)

0 comments on commit 070ea8a

Please sign in to comment.