Remove logging test

It doesn't do much other than cause the remainder of the test suite to
generate lots of junk output.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-07-21 15:56:37 +01:00
parent cc0bfea8a1
commit 233c509f71
1 changed files with 0 additions and 7 deletions

View File

@ -1,13 +1,11 @@
from __future__ import unicode_literals from __future__ import unicode_literals
from __future__ import absolute_import from __future__ import absolute_import
import logging
import os import os
from .. import unittest from .. import unittest
import docker import docker
import mock import mock
from compose.cli import main
from compose.cli.docopt_command import NoSuchCommand from compose.cli.docopt_command import NoSuchCommand
from compose.cli.main import TopLevelCommand from compose.cli.main import TopLevelCommand
from compose.service import Service from compose.service import Service
@ -88,11 +86,6 @@ class CLITestCase(unittest.TestCase):
with self.assertRaises(NoSuchCommand): with self.assertRaises(NoSuchCommand):
TopLevelCommand().dispatch(['help', 'nonexistent'], None) TopLevelCommand().dispatch(['help', 'nonexistent'], None)
def test_setup_logging(self):
main.setup_logging()
self.assertEqual(logging.getLogger().level, logging.DEBUG)
self.assertEqual(logging.getLogger('requests').propagate, False)
@mock.patch('compose.cli.main.dockerpty', autospec=True) @mock.patch('compose.cli.main.dockerpty', autospec=True)
def test_run_with_environment_merged_with_options_list(self, mock_dockerpty): def test_run_with_environment_merged_with_options_list(self, mock_dockerpty):
command = TopLevelCommand() command = TopLevelCommand()