Example #1
0
 def test_optional_params_are_optional(self):
     task = AirbyteConnectionTask(
         connection_id="749c19dc-4f97-4f30-bb0f-126e53506960")
     try:
         task.run()
     except ValueError as err:
         assert False, str(err)
     except Exception:
         pass
Example #2
0
 def test_invalid_connection_id(self):
     task = AirbyteConnectionTask()
     with pytest.raises(ValueError):
         task.run(connection_id="749c19dc-4f97-4f30-bb0f-126e5350696K")
Example #3
0
 def test_connection_id_must_be_provided(self):
     task = AirbyteConnectionTask()
     with pytest.raises(ValueError):
         task.run()