Commit Graph

238 Commits

Author SHA1 Message Date
Oliver Falk
fe912e3ba1 Am I allowed to exclude it this way from coverage testing? 2018-05-25 11:52:14 +02:00
Oliver Falk
6c33b10d5d Two more tests, simply to check templates 2018-05-25 11:51:50 +02:00
Oliver Falk
d1b195d71b Move title from header to base, so extend from other templates will correctly set the title 2018-05-25 11:36:49 +02:00
Oliver Falk
c702ef6bbd Test fetching avatar for non existing mail address 2018-05-25 11:21:55 +02:00
Oliver Falk
6b615dba9e Catch if digest isn't there - WIP, since we do not send a default ATM 2018-05-25 11:21:29 +02:00
Oliver Falk
e37699b822 Gearman no longer required 2018-05-25 11:05:48 +02:00
Oliver Falk
4b644e1c80 For testing, we need pyLibravatar 2018-05-25 11:01:10 +02:00
Oliver Falk
c84dea8c21 Test if fetching avatar via mail/openid works fine 2018-05-25 10:56:37 +02:00
Oliver Falk
2f6542bc61 Give the url a name 2018-05-25 10:55:45 +02:00
Oliver Falk
d780894d80 Error when trying to fetch with openid 2018-05-25 10:55:32 +02:00
Oliver Falk
8e772708e6 Additional stuff we cannot/don't want to cover atm 2018-05-25 10:03:18 +02:00
Oliver Falk
4e43ba4cb6 Change assertion, since locally, this behaves diffeerently and raises another Exception 2018-05-25 09:34:39 +02:00
Oliver Falk
8e3f83696b No coverage testing for DjangoOpenIDStore functions - at least not ATM 2018-05-25 09:28:20 +02:00
Oliver Falk
fd9b42ca3c Add test for set_photo on confirmedopenid 2018-05-25 09:25:38 +02:00
Oliver Falk
da37ef4768 No coverage testing for this 2018-05-25 09:24:56 +02:00
Oliver Falk
dbf4e54803 This is so simple, no need for coverage testing 2018-05-25 09:24:29 +02:00
Oliver Falk
9f4f6a1186 Two more tests on OpenID 2018-05-25 09:15:38 +02:00
Oliver Falk
3da9580443 No idea how to test this ATM 2018-05-25 09:15:21 +02:00
Oliver Falk
5662972a4d More OpenID tests and make openid random as well, since we anyway do not test it online. 2018-05-23 13:43:01 +02:00
Oliver Falk
a3fa848621 Additional OpenID tests 2018-05-23 13:09:26 +02:00
Oliver Falk
63fa904322 Exclude from coverage testing 2018-05-23 13:08:50 +02:00
Oliver Falk
eaa5a407ab Increase color difference of excluded and missing for red-green color blind people, like me 2018-05-23 12:07:31 +02:00
Oliver Falk
b2256090ca Coverage for templates 2018-05-23 11:58:50 +02:00
Oliver Falk
163299bb26 Add hackergotchi for testing 2018-05-23 11:36:57 +02:00
Oliver Falk
5b7b4466e3 Remove comments 2018-05-23 10:56:02 +02:00
Oliver Falk
2a21ce51b6 Ignore .pyc 2018-05-23 10:43:43 +02:00
Oliver Falk
6bd4080d58 PEP8 2018-05-23 10:39:18 +02:00
Oliver Falk
6819aa7264 Add test for unsupported image format (tif) and add additional OpenID test 2018-05-23 10:38:56 +02:00
Oliver Falk
a88d5359d0 Add test for unsupported image format (tif) and add additional OpenID test 2018-05-23 10:37:54 +02:00
Oliver Falk
088be58723 PEP8 2018-05-23 10:36:14 +02:00
Oliver Falk
cc511c98a1 PEP8 2018-05-23 10:35:51 +02:00
Oliver Falk
d855abac62 Match definition of overriden method, use request instead of self.request, since we now have it anywhere within the same context 2018-05-22 14:59:33 +02:00
Oliver Falk
7f4b82abe3 Fetch image via hash for OpenID and email 2018-05-22 14:41:42 +02:00
Oliver Falk
4646c38f8a Assign Photo to OpenId 2018-05-22 14:41:18 +02:00
Oliver Falk
7e58f77294 Digest for ConfirmedEmail and ConfirmedOpenId 2018-05-22 14:40:04 +02:00
Oliver Falk
66693f71c5 Cleanup (pep8, flakes) 2018-05-17 09:22:22 +02:00
Oliver Falk
da7f608772 Cleanup (pep8, flakes) 2018-05-17 09:21:56 +02:00
Oliver Falk
8893579db6 Cleanup (pep8, flakes) 2018-05-17 09:21:45 +02:00
Oliver Falk
b90bd1582e Cleanup (pep8, flakes) 2018-05-17 09:21:26 +02:00
Oliver Falk
a616ff08fa Cleanup (pep8, flakes) 2018-05-17 09:21:02 +02:00
Oliver Falk
26c504044f Cleanup (pep8, flakes) 2018-05-17 09:20:40 +02:00
Oliver Falk
e25fa07b00 Cleanup 2018-05-17 09:20:18 +02:00
Oliver Falk
e165976c79 Ignore pyre dirs 2018-05-16 13:18:54 +02:00
Oliver Falk
516b31a69c Home page 2018-05-16 13:18:24 +02:00
Oliver Falk
129308741d Stringify message, for easier coverage fixing, move print to same line as the if statement 2018-05-16 13:17:49 +02:00
Oliver Falk
f86ca1cb86 Small update to test signing 2018-05-15 19:25:46 +02:00
Oliver Falk
a286fb6fc3 Coverage now correctly configured in CI 2018-05-15 16:17:52 +02:00
Oliver Falk
bdb27455df Ignore virtualenv 2018-05-15 16:12:13 +02:00
Oliver Falk
6c02d0ae48 Check if a photo is there, else we cannot call raw_image 2018-05-15 16:11:51 +02:00
Oliver Falk
652350e033 Wire up OpenID actions 2018-05-15 13:20:02 +02:00