From bfbc74f2184c086870c22259881a146e2c869035 Mon Sep 17 00:00:00 2001 From: Nanda Scott Date: Fri, 26 Oct 2018 10:54:54 -0400 Subject: [PATCH] Updated unit tests to exclude deprecated functions --- unittests/TestRulings.py | 12 ------------ unittests/TestSymbology.py | 30 ------------------------------ 2 files changed, 42 deletions(-) diff --git a/unittests/TestRulings.py b/unittests/TestRulings.py index 3d9d6e6..47a88f4 100644 --- a/unittests/TestRulings.py +++ b/unittests/TestRulings.py @@ -22,18 +22,6 @@ class TestRulings(unittest.TestCase): def test_object(self): self.assertIsInstance(rules.object(), str) - def test_ruling_comment(self): - self.assertIsInstance(rules.ruling_comment(0), str) - - def test_ruling_object(self): - self.assertIsInstance(rules.ruling_object(0), str) - - def test_ruling_published_at(self): - self.assertIsInstance(rules.ruling_published_at(0), str) - - def test_ruling_source(self): - self.assertIsInstance(rules.ruling_source(0), str) - if __name__ == '__main__': unittest.main() \ No newline at end of file diff --git a/unittests/TestSymbology.py b/unittests/TestSymbology.py index 2ad56ae..2a8be0c 100644 --- a/unittests/TestSymbology.py +++ b/unittests/TestSymbology.py @@ -54,36 +54,6 @@ class TestSymbology(unittest.TestCase): def test_data_length(self): self.assertIsInstance(symbology.data_length(), int) - def test_symbol_symbol(self): - self.assertIsInstance(symbology.symbol_symbol(0), str) - - def test_symbol_loose_variant(self): - self.assertIsInstance(symbology.symbol_loose_variant(5), str) - - def test_symbol_transposable(self): - self.assertIsInstance(symbology.symbol_transposable(0), bool) - - def test_symbol_represents_mana(self): - self.assertIsInstance(symbology.symbol_represents_mana(0), bool) - - def test_symbol_cmc(self): - self.assertIsInstance(symbology.symbol_cmc(0), float) - - def test_symbol_appears_in_mana_costs(self): - self.assertIsInstance(symbology.symbol_appears_in_mana_costs(0), bool) - - def test_symbol_funny(self): - self.assertIsInstance(symbology.symbol_funny(0), bool) - - def test_symbol_colors(self): - self.assertIsInstance(symbology.symbol_colors(0), list) - - def test_symbol_english(self): - self.assertIsInstance(symbology.symbol_english(0), str) - - def test_symbol_gatherer_alternates(self): - self.assertIsInstance(symbology.symbol_gatherer_alternates(0), list) - if __name__ == '__main__': test_classes_to_run = [