Update views.py

This commit updates the global dict for testing purposes