Skip to content

Commit

Permalink
chore: use fast forwarded Django fork (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaFaer authored Aug 8, 2022
1 parent 872b297 commit 4db7ce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ then
else
pip3 install .
export DJANGO_TESTS_DIR="django_tests_dir"
mkdir -p $DJANGO_TESTS_DIR && git clone --depth 1 --single-branch --branch "spanner/stable/2.2.x" https://github.com/c24t/django.git $DJANGO_TESTS_DIR/django
mkdir -p $DJANGO_TESTS_DIR && git clone --depth 1 --single-branch --branch "django/stable/2.2.x" https://github.com/googleapis/python-spanner-django.git $DJANGO_TESTS_DIR/django

# Install dependencies for Django tests.
sudo apt-get update
Expand Down
1 change: 1 addition & 0 deletions django_spanner/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
# Check constraints are not supported by Spanner emulator.
"constraints.tests.CheckConstraintTests.test_database_constraint", # noqa
"constraints.tests.CheckConstraintTests.test_name", # noqa
"admin_docs.test_views.AdminDocViewDefaultEngineOnly.test_template_detail_path_traversal",
# Untyped parameters are not supported:
# https://github.com/GoogleCloudPlatform/cloud-spanner-emulator#features-and-limitations
"auth_tests.test_admin_multidb.MultiDatabaseTests.test_add_view", # noqa
Expand Down

0 comments on commit 4db7ce0

Please sign in to comment.