我正在使用 from graphene_django.utils.testing import GraphQLTestCase 来实现我的测试。但是,结果来自 class PeopleTests(GraphQLTestCase):
def test_all_person_query_admin_token我在Django Test Database looks empty while test is runnin上读到这是GraphQLTestCa
我目前正在为我的软件编写测试,但却陷入了困境。我尝试使用普通的GraphQL查询从我的数据库中获取数据,但我的端点首先要检查标题中的idToken是否有效。对于用户处理,我使用AWS认知,但找不到一个好的方式来模拟登录,以检索有效的令牌,以查询和变异数据在各个端点。# Create a fixture using the graphql_query helper and `client` fixture from `pytes