Skip to content

Commit

Permalink
merge tests
Browse files Browse the repository at this point in the history
  • Loading branch information
korgan00 committed Nov 28, 2024
1 parent ad6baa3 commit edffc73
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions tests/docker/test_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def simple_function(self):
)

@mark.order(1)
def test_upload_function(
def test_simple_function(
self, serverless_client: ServerlessClient, simple_function: QiskitFunction
):
"""Integration test function uploading."""
Expand All @@ -38,21 +38,10 @@ def test_upload_function(

assert runnable_function is not None

@mark.order(2)
def test_access_function(
self, serverless_client: ServerlessClient, simple_function: QiskitFunction
):
"""Integration test function accessing."""
runnable_function = serverless_client.function(simple_function.title)

assert runnable_function is not None

@mark.order(3)
def test_run_function(
self, serverless_client: ServerlessClient, simple_function: QiskitFunction
):
"""Integration test function run functions."""
runnable_function = serverless_client.function(simple_function.title)
job = runnable_function.run()

assert job is not None
Expand Down

0 comments on commit edffc73

Please sign in to comment.