def test_regular(self, posturl, s3conn, pubsub, crash_generator):
    'Post a valid crash and verify the contents made it to S3.'
    (raw_crash, dumps) = crash_generator.generate()
    crash_payload = mini_poster.assemble_crash_payload_dict(raw_crash, dumps)
    resp = mini_poster.post_crash(posturl, crash_payload, dumps)
    time.sleep(SLEEP_TIME)
    crash_id = content_to_crashid(resp.content)
    logger.debug('Crash ID is: %s', crash_id)
    logger.debug('S3conn: %s', s3conn.get_config())
    verifier = CrashVerifier()
    verifier.verify_stored_data(crash_id, raw_crash, dumps, s3conn)
    verifier.verify_published_data(crash_id, pubsub)
Post a valid crash and verify the contents made it to S3.
def test_regular(self, posturl, s3conn, pubsub, crash_generator):
    
    (raw_crash, dumps) = crash_generator.generate()
    crash_payload = mini_poster.assemble_crash_payload_dict(raw_crash, dumps)
    resp = mini_poster.post_crash(posturl, crash_payload, dumps)
    time.sleep(SLEEP_TIME)
    crash_id = content_to_crashid(resp.content)
    logger.debug('Crash ID is: %s', crash_id)
    logger.debug('S3conn: %s', s3conn.get_config())
    verifier = CrashVerifier()
    verifier.verify_stored_data(crash_id, raw_crash, dumps, s3conn)
    verifier.verify_published_data(crash_id, pubsub)