pgadmin4/web/pgadmin/browser/server_groups/tests/utils.py

17 lines
531 B
Python

##########################################################################
#
# pgAdmin 4 - PostgreSQL Tools
#
# Copyright (C) 2013 - 2021, The pgAdmin Development Team
# This software is released under the PostgreSQL Licence
#
##########################################################################
"""Server Group helper utilities"""
import os
import json
CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))
with open(CURRENT_PATH + "/servers_group_test_data.json") as data_file:
test_cases = json.load(data_file)