From b3ecbb300f45bdab4621d6fdc68b92813e43b414 Mon Sep 17 00:00:00 2001
From: Syrus Akbary <me@syrusakbary.com>
Date: Tue, 29 Sep 2015 00:31:59 -0700
Subject: [PATCH] Fixed errors with latest build of graphqllib

---
 tests/starwars_relay/test_connections.py          |  2 +-
 tests/starwars_relay/test_objectidentification.py | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/starwars_relay/test_connections.py b/tests/starwars_relay/test_connections.py
index 7d385514..5f115e49 100644
--- a/tests/starwars_relay/test_connections.py
+++ b/tests/starwars_relay/test_connections.py
@@ -33,5 +33,5 @@ def test_correct_fetch_first_ship_rebels():
       }
     }
     result = schema.execute(query)
-    assert result.errors == None
+    assert not result.errors
     assert result.data == expected
diff --git a/tests/starwars_relay/test_objectidentification.py b/tests/starwars_relay/test_objectidentification.py
index 1c4a0ba2..ced7daa7 100644
--- a/tests/starwars_relay/test_objectidentification.py
+++ b/tests/starwars_relay/test_objectidentification.py
@@ -19,7 +19,7 @@ def test_correctly_fetches_id_name_rebels():
       }
     }
     result = schema.execute(query)
-    assert result.errors == None
+    assert not result.errors
     assert result.data == expected
 
 def test_correctly_refetches_rebels():
@@ -40,7 +40,7 @@ def test_correctly_refetches_rebels():
       }
     }
     result = schema.execute(query)
-    assert result.errors == None
+    assert not result.errors
     assert result.data == expected
 
 def test_correctly_fetches_id_name_empire():
@@ -59,7 +59,7 @@ def test_correctly_fetches_id_name_empire():
       }
     }
     result = schema.execute(query)
-    assert result.errors == None
+    assert not result.errors
     assert result.data == expected
 
 def test_correctly_refetches_empire():
@@ -80,7 +80,7 @@ def test_correctly_refetches_empire():
       }
     }
     result = schema.execute(query)
-    assert result.errors == None
+    assert not result.errors
     assert result.data == expected
 
 def test_correctly_refetches_xwing():
@@ -101,5 +101,5 @@ def test_correctly_refetches_xwing():
       }
     }
     result = schema.execute(query)
-    assert result.errors == None
+    assert not result.errors
     assert result.data == expected