/[thuban]/branches/WIP-pyshapelib-bramz/test/test_load.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/test/test_load.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1641 by bh, Tue Jul 15 08:43:53 2003 UTC revision 1642 by bh, Mon Aug 25 10:54:31 2003 UTC
# Line 582  class TestLoadError(LoadSessionTest): Line 582  class TestLoadError(LoadSessionTest):
582          try:          try:
583              self.session = load_session(self.filename())              self.session = load_session(self.filename())
584          except LoadError, value:          except LoadError, value:
585              pass              # Check the actual messge in value to make sure the
586                # LoadError really was about the missing attribute
587                self.assertEquals(str(value),
588                  "Element "
589                  "(u'http://thuban.intevation.org/dtds/thuban-0.9-dev.dtd',"
590                  " u'fileshapesource') requires an attribute 'filetype'")
591          else:          else:
592              self.fail("Missing filetype attribute doesn't raise LoadError")              self.fail("Missing filetype attribute doesn't raise LoadError")
593    

Legend:
Removed from v.1641  
changed lines
  Added in v.1642

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26