Exemplo n.º 1
0
def creator():
    curr_dir = os.path.dirname(os.path.abspath(__file__))
    output_dir = os.path.abspath(
        os.path.join(curr_dir, "..", "..", "output_dir"))
    creator = WebDriverCreator(output_dir)
    Creator = namedtuple("Creator", "creator, output_dir")
    return Creator(creator, output_dir)
def creator():
    curr_dir = os.path.dirname(os.path.abspath(__file__))
    output_dir = os.path.abspath(
        os.path.join(curr_dir, '..', '..', 'output_dir'))
    creator = WebDriverCreator(output_dir)
    Creator = namedtuple('Creator', 'creator, output_dir')
    return Creator(creator, output_dir)
Exemplo n.º 3
0
 def setUpClass(cls):
     cls.log_dir = '/log/dir'
     cls.creator = WebDriverCreator(cls.log_dir)
     path = os.path.dirname(__file__)
     if not JYTHON:
         reporter_json = os.path.abspath(os.path.join(path, '..', 'approvals_reporters.json'))
         factory = GenericDiffReporterFactory()
         factory.load(reporter_json)
         cls.reporter = factory.get_first_working()
Exemplo n.º 4
0
 def setUpClass(cls):
     cls.log_dir = "/log/dir"
     cls.creator = WebDriverCreator(cls.log_dir)
     path = os.path.dirname(__file__)
     reporter_json = os.path.abspath(
         os.path.join(path, "..", "approvals_reporters.json")
     )
     factory = GenericDiffReporterFactory()
     factory.load(reporter_json)
     cls.reporter = factory.get_first_working()
Exemplo n.º 5
0
 def setUpClass(cls):
     cls.log_dir = '/log/dir'
     cls.creator = WebDriverCreator(cls.log_dir)
Exemplo n.º 6
0
def creator():
    return WebDriverCreator(LOG_DIR)
def creator():
    curr_dir = os.path.dirname(os.path.abspath(__file__))
    output_dir = os.path.abspath(
        os.path.join(curr_dir, '..', '..', 'output_dir'))
    return WebDriverCreator(output_dir)
 def setUpClass(cls):
     curr_dir = os.path.dirname(os.path.abspath(__file__))
     cls.output_dir = os.path.abspath(
         os.path.join(curr_dir, '..', '..', 'output_dir'))
     cls.creator = WebDriverCreator(cls.output_dir)
Exemplo n.º 9
0
 def setUpClass(cls):
     cls.creator = WebDriverCreator('/log/dir')