Remove sample test code
@@ -71,44 +71,3 @@ class MarquezClient(object):
def mark_job_run_aborted(self, job_run_id):
self.jobs_api_client.jobs_runs_id_abort_put(job_run_id)
-
-
-if __name__ == "__main__":
- # Namespace Params
- new_namespace = "aleks_ns4"
- owner = "aleks2"
- ns_desc = "aleks_testing_ns"
-
- # Job Params
- job_name = "aleks_job"
- location = "git://my_fav_project/5gfd53F892KJkx"
- description = "a simple job"
- input_data_set_urns = ["a://b/c", "d://e/f"]
-
- output_data_set_urns = ["s3://i/j/k"]
-
- my_app = MarquezClient()
- my_app.set_namespace(new_namespace, owner=owner, description=None)
-
- job_result = my_app.create_job(job_name, location, input_data_set_urns, output_data_set_urns, description)
- print("Job Creation:")
- print(job_result)
-
- job_run = my_app.create_job_run(job_name, job_run_args=json.dumps({"k1" : "v1", "k2" : "v2"}))
- run_id = job_run.run_id
- print("Job Run Creation:")
- print(job_run)
-
- job_run = my_app.get_job_run(run_id)
- print("Getting job run result:")
- print(job_run)
- my_app.mark_job_run_running(run_id)
-
- job_run = my_app.get_job_run(run_id)
- print("Getting job run result (after marked as running):")
- print(job_run)
-
- my_app.mark_job_run_completed(run_id)
- job_run = my_app.get_job_run(run_id)
- print("Getting job run result (after marked as completed):")
- print(job_run)
\ No newline at end of file
