Skip to content
Snippets Groups Projects
Nuwan Rajika Kumarasiri's avatar
Nuwan Rajika Kumarasiri authored
When not encoded ended up with
``` self['oauth_body_hash'] = base64.b64encode(sha1(self.body).digest())
   TypeError: Unicode-objects must be encoded before hashing
   ```
0cda1244
History

DoIT fork of spotseeker_client by the University of Washington Information Technology's Academic Experience Design & Delivery group. Major changes are from upstream project is this fork has been updated Python 3.x and Django 2.x.

Requirement

  • Python 3.6.x
  • Django 2.x

Development

Install spotseeker_client as a Django module in WiScout Django app.

  • Clone WiScout to your machine.

  • Install spotseeker_server as an editable dependency.

# from wiscout
$ pipenv install -e /path/to/spotseeker_client
  • Add spotseeker_client to INSTALLED_APPS
# wiscout/settings.py
INSTALLED_APPS = [
...
'spotseeker_restclient',
....
]

Run Unit Tests

# from wiscout 
$ python manage.py test spotseeker_restclient.test.spot