def setUp(self):
     model = ConferenceModel()
     model.date = datetime.date(2018, 12, 30)
     conference = Conference.from_faker_conference(1, model)
     model.facebook.create_event("test_event_name", 'test_host_name',
                                 conference)
     self.person = Person(1, model)
Exemple #2
0
def run():
    argument_parser = create_argument_parser()
    args = argument_parser.parse_args()

    scenario_name = args.scenario
    scenario = load_yaml_scenario(scenario_name)

    m = ConferenceModel(scenario=scenario)
    m.run()
 def setUp(self):
     model = ConferenceModel()
     self.person = Person(1, model)
     self.job_posting_site = JobPostingSite(1, model)
 def setUp(self):
     self.model = ConferenceModel()
     self.model = datetime.datetime.now().date
     self.person = Person(1, self.model)
     self.conference = Conference.from_faker_conference(13, self.model)
 def setUp(self):
     model = ConferenceModel()
     self.person = Person(1, model)
     self.person.interests = "a lof of great technologies"
     self.conference = Conference.from_faker_conference(2, model)
     self.conference.description = "very interesting conference about python"
 def setUp(self):
     model = ConferenceModel()
     self.facebook = Facebook(1, model)
 def setUp(self):
     model = ConferenceModel()
     self.facebook = Facebook(1, model)
     self.person = Person(2, model)
     self.conference = Conference.from_faker_conference(3, model)