Skip to content

Commit

Permalink
Add Bridge Test
Browse files Browse the repository at this point in the history
  • Loading branch information
vCra committed May 2, 2019
1 parent 4b05d7b commit 8cb7363
Show file tree
Hide file tree
Showing 10 changed files with 600 additions and 1,959 deletions.
4 changes: 3 additions & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,6 @@
#

# Time to wait before repolling Judge0 for a new status
JUDGE0_POLL_WAIT = 1
JUDGE0_POLL_WAIT = 1

HEADLESS = False
7 changes: 6 additions & 1 deletion config/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@
# https://docs.djangoproject.com/en/dev/ref/settings/#caches
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.locmem.LocMemCache", "LOCATION": ""
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://127.0.0.1:6379/1",
"KEY_PREFIX": "web",
"TIMEOUT": None
}
}


# PASSWORDS
# ------------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#password-hashers
Expand Down Expand Up @@ -67,6 +71,7 @@
},
}

HEADLESS = True

ALLOWED_HOSTS = ["localhost"]

Expand Down
Loading

0 comments on commit 8cb7363

Please sign in to comment.