Skip to content

Commit

Permalink
Update test_session_id (#1472)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 authored Mar 6, 2024
1 parent 33f8d86 commit f7a86dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ def test_session_id(self):
self.assertEqual(backend.session.session_id, None)
self.assertTrue(backend.session.active)
job1 = backend.run(bell())
self.assertEqual(job1._session_id, job1.job_id())
self.assertTrue(job1.result())
job2 = backend.run(bell())
self.assertFalse(job2._session_id == job2.job_id())
self.assertTrue(job2.result())

def test_backend_run_with_session(self):
"""Test that 'shots' parameter is transferred correctly"""
Expand Down

0 comments on commit f7a86dc

Please sign in to comment.