<commit_before>'''
Created on May 22, 2013

@author: hsorby
'''
import unittest

from zinc.context import Context
from zinc.graphic import Graphic
from zinc.field import Field

class GraphicTestCase(unittest.TestCase):


    def setUp(self):
        self.context = Context('graphictest')
        root_region = self.context.getDefaultRegion()
        self.graphics_module = self.context.getDefaultGraphicsModule()
        self.graphics_module.enableScenes(root_region)<commit_msg>Updating PyZinc unit tests to the latest API.  https://tracker.physiomeproject.org/show_bug.cgi?id=3535<commit_after>'''
Created on May 22, 2013

@author: hsorby
'''
import unittest

from zinc.context import Context
from zinc.graphic import Graphic
from zinc.field import Field

class GraphicTestCase(unittest.TestCase):


    def setUp(self):
        self.context = Context('graphictest')
        root_region = self.context.getDefaultRegion()
        self.graphics_module = self.context.getGraphicsModule()
{'fraction_non_alphanumeric': 0.09330628803245436, 'fraction_numerical': 0.016227180527383367, 'mean_word_length': 4.364130434782608, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4423553', 'n_tokens_mistral': 306, 'n_tokens_neox': 282, 'n_words': 72}