def lambda_handler(event, context=None): print(json.dumps(event)) skunky = Skunky(session=Session, config='config.json') skunky.run() print("Time remaining (MS):", context.get_remaining_time_in_millis())
def test_run(self, session_mock, skunky_start_mock): testSkunky = Skunky(session_mock) testSkunky.run() assert testSkunky.expire == TIME_RUN