import pycomicvine
import unittest

api_key = "476302e62d7e8f8f140182e36aebff2fe935514b"

class TestSearch(unittest.TestCase):
    def test_search_resource_type(self):
        search = pycomicvine.Search(
                resources="volume", 
                query="Angel"
            )
        for v in search:
            self.assertIsInstance(v, pycomicvine.Volume)

    def test_search_id(self):
        search = pycomicvine.Search(
                query="The Walking Dead",
                field_list=["id"]
            )
        self.assertNotEqual(len(search),0)
        self.assertEqual(18166, [s.id for s in search])


import pycomicvine
import unittest

api_key = "476302e62d7e8f8f140182e36aebff2fe935514b"

class TestSearch(unittest.TestCase):
    def test_search_resource_type(self):
        search = pycomicvine.Search(
                resources="volume", 
                query="Angel"
            )
        self.assertIsInstance(search[0], pycomicvine.Volume)

    def test_search_id(self):
        search = pycomicvine.Search(
                query="The Walking Dead",
                field_list=["id"]
            )
        self.assertNotEqual(len(search),0)
        self.assertEqual(search[0].id, 18166)


--- 
+++ 
@@ -9,7 +9,8 @@
                 resources="volume", 
                 query="Angel"
             )
-        self.assertIsInstance(search[0], pycomicvine.Volume)
+        for v in search:
+            self.assertIsInstance(v, pycomicvine.Volume)
 
     def test_search_id(self):
         search = pycomicvine.Search(
@@ -17,5 +18,5 @@
                 field_list=["id"]
             )
         self.assertNotEqual(len(search),0)
-        self.assertEqual(search[0].id, 18166)
+        self.assertEqual(18166, [s.id for s in search])
 
Check every result in Search test
