Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Use string values for django-chache keys. When django cache backend tests the key provided by django_celery_results, It wants to have str type value. byte values result in the following exception being raised: File "/opt/exaboard/eXaboard/lib/python3.6/site-packages/django/core/cache/backends/base.py", line 287, in memcache_key_warnings if ord(char) < 33 or ord(char) == 127: TypeError: ord() expected string of length 1, but int found * Remove old super call argument * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add test that saves key value in byte format * Syntax fix for test_convert_key_from_byte_to_str * Fixes based on flake8 failures * Fix t/unit/backends/test_cache.py:64:50: W291 trailing whitespace Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information