django-rpx-plus icon indicating copy to clipboard operation
django-rpx-plus copied to clipboard

Add test cases (EOM)

Open mikexstudios opened this issue 15 years ago • 4 comments

mikexstudios avatar Feb 23 '10 04:02 mikexstudios

Hm, can't use django's built in Client since we need to access external URLs.

mikexstudios avatar Feb 25 '10 02:02 mikexstudios

Created dummy myopenid account: http://unittest.myopenid.com/

mikexstudios avatar Feb 25 '10 17:02 mikexstudios

Created dummy RPXnow account: django_rpx_test

mikexstudios avatar Feb 25 '10 18:02 mikexstudios

Started to address this in f898e5f5ceefca7292755aa3d19e049e85e2dee4. But honestly, I'm not sure where to go from here since 'scripting a browser' to login for only myopenid logins doesn't test a whole lot.

We could simulate RPX API by sending our own crafted responses to the app. This might be better, but the problem is if RPX decides to change how responses happen. Tests will run fine despite real world usage failing.

mikexstudios avatar Feb 26 '10 04:02 mikexstudios