Commits

Jean-Tiare Le Bigot committed 43c7893

remove duplicated tests (wtf ???)

  • Participants
  • Parent commits ee2623f

Comments (0)

Files changed (1)

dynamodb_mapper/tests/test_model.py

             "cyberdemon": []
         }
 
-        e = DoomMonsterMap._from_db_dict({
-            "map_id": 1,
-            "monsters": json.dumps(monsters, sort_keys=True)
-        })
-        self.assertEqual(e.monsters, monsters)
-
-        e2 = DoomMonsterMap._from_db_dict({"map_id": 1})
-        self.assertEqual(e2.monsters, {})
-
-    def test_build_from_db_dict(self):
-        #FIXME: can it be removed as this feature is implicitly tested elsewhere ?
-        d_dict = {"id": 1, "name": "Knee-deep in the Dead"}
-        d = DoomEpisode._from_db_dict(d_dict)
-        self.assertEqual(d_dict, d._raw_data)
-
-    def test_build_from_db_dict_json_dict(self):
-        #FIXME: can it be removed as this feature is implicitly tested elsewhere ?
-        monsters = {
-            "cacodemon": [
-                {"x": 10, "y": 20},
-                {"x": 10, "y": 30}
-            ],
-            "imp": [],
-            "cyberdemon": []
-        }
-
         raw_dict = {
             "map_id": 1,
             "monsters": json.dumps(monsters, sort_keys=True)
         self.assertEqual(raw_dict["map_id"], e._raw_data["map_id"])
         self.assertEqual(raw_dict["monsters"], e._raw_data["monsters"])
 
+        e2 = DoomMonsterMap._from_db_dict({"map_id": 1})
+        self.assertEqual(e2.monsters, {})
+
     def test_to_db_dict_json_list(self):
         #FIXME: can it be removed as this feature is implicitly tested elsewhere ?
         attacks = [