def _generate_two_experiments():
    experimentA = Experiment.Experiment(
        'weblab-pld', Category.ExperimentCategory('WebLab-PLD experiments'),
        'start_date', 'end_date')
    experimentB = Experiment.Experiment(
        'weblab-pld', Category.ExperimentCategory('WebLab-PLD experiments'),
        'start_date', 'end_date')
    return experimentA, experimentB
Exemple #2
0
 def _generate_two_experiments(self):
     experimentA = Experiment.Experiment(
             'weblab-pld',
             Category.ExperimentCategory('WebLab-PLD experiments'),
             datetime.datetime(2007,1,1),
             datetime.datetime(2008,1,1)
         )
     experimentB = Experiment.Experiment(
             'weblab-fpga',
             Category.ExperimentCategory('WebLab-FPGA experiments'),
             datetime.datetime(2005,1,1),
             datetime.datetime(2006,1,1)
         )
     return experimentA, experimentB
def generate_experiment(exp_name, exp_cat_name):
    cat = Category.ExperimentCategory(exp_cat_name)
    client = Experiment.ExperimentClient("client", {})
    exp = Experiment.Experiment(exp_name, cat, '01/01/2007', '31/12/2007',
                                client)
    return exp
def generate_experiment(exp_name, exp_cat_name):
    cat = Category.ExperimentCategory(exp_cat_name)
    exp = Experiment.Experiment(exp_name, cat, '01/01/2007', '31/12/2007')
    return exp