diff --git a/sections.py b/sections.py index d47813f..0d11b1e 100644 --- a/sections.py +++ b/sections.py @@ -126,13 +126,3 @@ class Book: shuffled_from_name[section.name] = section return ShuffledSections(as_list, from_nr, shuffled_from_name, self.nr_sections) - -class Item (object): - def __init__(self, name): - self.name = name - -class Hero (object): - "The hero (player character) of a Book." - def __init__(self): - self.carrying_capacity = 10 - self.skills = set() diff --git a/test_sections.py b/test_sections.py index 5000b67..fffdabd 100755 --- a/test_sections.py +++ b/test_sections.py @@ -35,13 +35,5 @@ class TestBook(TestCase): self.assertEqual(b.nr_sections, {}) self.assertEqual(b.config['max'], 0) -class TestItem(TestCase): - def setUp(self): - pass - - def test_create(self): - i = sections.Item("nn") - self.assertEqual(i.name, "nn") - if __name__ == '__main__': unittest.main()