tests/context/context.py: Don't break with trailing slashes
Description
This solves a minor bug in the context.py test cases that causes it to fail when the cache directory definition ends in a slash.
Use os.path.normpath to parse context directories (still up for discussion, see related issue)
This merge request, when approved, will close issue/bug: #404 (closed).
Edited by Tristan Maat