python3Packages.graphene-django: disable failing tests
With Django 6.0 two tests are failing. Also clears other disabled tests that have been fixed a while ago.
This commit is contained in:
@@ -58,17 +58,15 @@ buildPythonPackage rec {
|
||||
pytest7CheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/graphql-python/graphene-django/issues/1510
|
||||
"test_should_filepath_convert_string"
|
||||
"test_should_choice_convert_enum"
|
||||
"test_should_multiplechoicefield_convert_to_list_of_enum"
|
||||
"test_perform_mutate_success_with_enum_choice_field"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# this test touches files in the "/" directory and fails in darwin sandbox
|
||||
"test_should_filepath_convert_string"
|
||||
];
|
||||
disabledTests =
|
||||
lib.optionals (lib.versionAtLeast django.version "6.0") [
|
||||
"test_global_id_field_explicit"
|
||||
"test_global_id_field_implicit"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# this test touches files in the "/" directory and fails in darwin sandbox
|
||||
"test_should_filepath_convert_string"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Integrate GraphQL into your Django project";
|
||||
|
||||
Reference in New Issue
Block a user