File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -25,25 +25,14 @@ client = QaaSClient(
25
25
26
26
platforms = client.list_platforms(name = " aer_simulation_pop_c16m128" )
27
27
28
- assert platforms is not None
29
- assert len (platforms) == 1
30
-
31
28
target_platform = platforms[0 ]
32
29
33
- assert target_platform.id is not None
34
-
35
30
session = client.create_session(platform_id = target_platform.id, max_duration = " 2min" , max_idle_duration = " 2min" )
36
31
37
- assert session is not None
38
- assert session.id is not None
39
- assert session.platform_id == target_platform.id
40
-
41
32
while session.status == " starting" :
42
33
session = client.get_session(session.id)
43
34
time.sleep(3 )
44
35
45
- assert session.status == " running"
46
-
47
36
client.delete_session(session.id)
48
37
```
49
38
Original file line number Diff line number Diff line change 22
22
23
23
setup (
24
24
name = "scaleway_qaas_client" ,
25
- version = "0.1.3 " ,
25
+ version = "0.1.4 " ,
26
26
project_urls = {
27
27
"Documentation" : "https://www.scaleway.com/en/quantum-as-a-service/" ,
28
28
"Source" : "https://github.com/scaleway/scaleway-qaas-client-pythom" ,
You can’t perform that action at this time.
0 commit comments