#205 Adding more unittests
Merged by skrzepto. Opened by skrzepto.
skrzepto/fedora-hubs unittest  into  unittest

Download 205.patch

Forgot I had these finished from last week. Adding them in now.

Testing hub_edit and widget_source

Modified widget_source to do some error checking so it won't crash

Minor: name in registry.keys() will return a list and perform a O(n) search on it, as opposed to name in registry which does a hash table lookup for the key. This will make a performance difference if registry gets larger.

LGTM :thumbsup:

2 new commits added

  • more tests and modified source of widget to check if the widget exists first, if not 404
  • edit about me widget for ralph is succesful

rebased

Pull-Request has been merged by skrzepto

Metadata