tomkralidis/geonode — pull request #1 by dwins (2012-05-25 19:59:21+00:00)
Title: Mock fixes in md_csw tests

this should clear up the test failure you pointed out. Have you seen the documentation for the mock library we're using? It's at http://www.voidspace.org.uk/python/mock/mock.html

ps: I got a bit confused by the presence of `get_csw` methods in both the `geonode.maps.models` and `geonode.maps.views` modules; I think it would be cleaner for one to import the other instead of duplicating the code.