Initialize pytest
and convert test_connection
#1079
Merged
pytest
and convert test_connection
#1079