Most likely 'assert' should be 'assert_exists'.