aboutsummaryrefslogtreecommitdiff
path: root/tests/test_pandora/test_clientbuilder.py
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2017-10-07 04:10:14 +0000
committerMike Crute <mike@crute.us>2017-10-07 04:37:42 +0000
commiteac047b29356b98c368a0a420d1abcd089ac8b09 (patch)
tree9623091845d0beb91abb86df7af31118d7b6ab8c /tests/test_pandora/test_clientbuilder.py
parente473c68962a616e2d6b53fc07cead6856c8128a7 (diff)
downloadpydora-eac047b29356b98c368a0a420d1abcd089ac8b09.tar.bz2
pydora-eac047b29356b98c368a0a420d1abcd089ac8b09.tar.xz
pydora-eac047b29356b98c368a0a420d1abcd089ac8b09.zip
Add tests
Diffstat (limited to 'tests/test_pandora/test_clientbuilder.py')
-rw-r--r--tests/test_pandora/test_clientbuilder.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_pandora/test_clientbuilder.py b/tests/test_pandora/test_clientbuilder.py
index aaccdf8..b02a4d1 100644
--- a/tests/test_pandora/test_clientbuilder.py
+++ b/tests/test_pandora/test_clientbuilder.py
@@ -164,6 +164,10 @@ class TestFileBasedBuilder(TestCase):
164 client = self.StubBuilder(__file__, False).build() 164 client = self.StubBuilder(__file__, False).build()
165 self.assertFalse(client.login.called) 165 self.assertFalse(client.login.called)
166 166
167 def test_abstract_class_does_not_parse_config(self):
168 with self.assertRaises(NotImplementedError):
169 cb.FileBasedClientBuilder().parse_config()
170
167 171
168class TestPydoraConfigFileBuilder(TestCase): 172class TestPydoraConfigFileBuilder(TestCase):
169 173