You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check to see if we have a pre-existing test case to work from.
80
-
ifargs:
81
-
test_case=args[0]
82
-
else:
83
-
test_case=unittest.TestCase("__init__")
84
-
# Check to see if the count is what you expect
85
-
test_case.assertEqual(count.get_counter(), expected, msg="Expected number of cassandra.cqlengine.connection.execute calls ({0}) doesn't match actual number invoked ({1})".format(expected, count.get_counter()))
80
+
assertcount.get_counter() ==expected, "Expected number of cassandra.cqlengine.connection.execute calls ({0}) doesn't match actual number invoked ({1})".format(expected, count.get_counter())
86
81
returnto_return
87
82
# Name of the wrapped function must match the original or unittest will error out.
0 commit comments