From b11416b8b7b9e37c601efd1fa528b86d371babf7 Mon Sep 17 00:00:00 2001 From: Paul Bailey Date: Mon, 7 Jun 2021 16:04:04 -0500 Subject: [PATCH] add missing auto fields --- graphene_django/tests/test_converter.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/graphene_django/tests/test_converter.py b/graphene_django/tests/test_converter.py index fe84e73..8d9fcef 100644 --- a/graphene_django/tests/test_converter.py +++ b/graphene_django/tests/test_converter.py @@ -111,6 +111,14 @@ def test_should_auto_convert_id(): assert_conversion(models.AutoField, graphene.ID, primary_key=True) +def test_should_big_auto_convert_id(): + assert_conversion(models.BigAutoField, graphene.ID, primary_key=True) + + +def test_should_small_auto_convert_id(): + assert_conversion(models.SmallAutoField, graphene.ID, primary_key=True) + + def test_should_uuid_convert_id(): assert_conversion(models.UUIDField, graphene.UUID)