'Happy path test to ensure basic create functionality works as expected.'

def test_creation(self):

    vblocks = self._create_block_record_list([self.record_a])
    list_of_block_dicts = [self.record_a._asdict()]
    for block_dict in list_of_block_dicts:
        block_dict['locator'] = unicode(block_dict['locator'])
    expected_data = {'blocks': [{'locator': unicode(self.record_a.locator), 'raw_possible': 10, 'weight': 1, 'graded': self.record_a.graded}], 'course_key': unicode(self.record_a.locator.course_key), 'version': BLOCK_RECORD_LIST_VERSION}
    expected_json = json.dumps(expected_data, separators=(',', ':'), sort_keys=True)
    expected_hash = b64encode(sha1(expected_json).digest())
    self.assertEqual(expected_data, json.loads(vblocks.blocks_json))
    self.assertEqual(expected_json, vblocks.blocks_json)
    self.assertEqual(expected_hash, vblocks.hashed)
