Skip to content

Commit

Permalink
remove unused session_id test fixture
Browse files Browse the repository at this point in the history
this was introduced in #275 for running the database in a container but is no longer needed
  • Loading branch information
Nothing4You committed Jan 30, 2022
1 parent 32cbeac commit e3bce0e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import gc
import os
import ssl
import uuid

import aiomysql
import pymysql
Expand Down Expand Up @@ -247,12 +246,6 @@ def _register_table(table_name):
loop.run_until_complete(cursor.execute(sql))


@pytest.fixture(scope='session')
def session_id():
"""Unique session identifier, random string."""
return str(uuid.uuid4())


@pytest.fixture(autouse=True)
def ensure_mysql_version(request, mysql_image, mysql_tag):
mysql_version = request.node.get_closest_marker('mysql_version')
Expand Down

0 comments on commit e3bce0e

Please sign in to comment.