more concise check for flavor list unit test
diff --git a/openstack/cdn/v1/flavors/requests_test.go b/openstack/cdn/v1/flavors/requests_test.go
index 2fafb36..ea74e13 100644
--- a/openstack/cdn/v1/flavors/requests_test.go
+++ b/openstack/cdn/v1/flavors/requests_test.go
@@ -53,10 +53,7 @@
     return true, nil
   })
   th.AssertNoErr(t, err)
-
-  if count != 1 {
-    t.Errorf("Expected 1 page, got %d", count)
-  }
+  th.CheckEquals(t, 1, count)
 }
 
 func TestGet(t *testing.T) {
diff --git a/rackspace/cdn/v1/flavors/delegate_test.go b/rackspace/cdn/v1/flavors/delegate_test.go
index 9060e54..3062ff6 100644
--- a/rackspace/cdn/v1/flavors/delegate_test.go
+++ b/rackspace/cdn/v1/flavors/delegate_test.go
@@ -54,10 +54,7 @@
 		return true, nil
 	})
 	th.AssertNoErr(t, err)
-
-	if count != 1 {
-		t.Errorf("Expected 1 page, got %d", count)
-	}
+	th.CheckEquals(t, 1, count)
 }
 
 func TestGet(t *testing.T) {