Skip to content

Conversation

@ethho
Copy link
Contributor

@ethho ethho commented Dec 14, 2023

  • Checkout conftest from dev-tests-plat-166-schema
  • cp to tests
  • nose2pytest test_tls
  • Migrate test_tls
  • Format with black

user=os.getenv("DJ_TEST_USER", "datajoint"),
password=os.getenv("DJ_TEST_PASSWORD", "datajoint"),
)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked out from #1136

from pymysql.err import OperationalError


def test_secure_connection(db_creds_test, connection_test):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have to use connection_test fixture so that the test user is created in the DB.

@ethho ethho marked this pull request as ready for review December 14, 2023 22:38
@ethho ethho requested a review from A-Baji December 14, 2023 23:16
@ethho
Copy link
Contributor Author

ethho commented Dec 15, 2023

Merging into dev-tests. Please include review as part of #1142 instead.

@ethho ethho merged commit ec914f8 into datajoint:dev-tests Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant