Ignore:
Timestamp:
15/12/08 14:23:40 (12 years ago)
Author:
cbyrom
Message:

Improve test suite, allowing referenced artefacts to be properly set
up and removed before and after tests + set global logging + adjust
file references + add required data files + simplify and fix some tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exist/trunk/python/ndgutilstests/models/testatom.py

    r4629 r4641  
    5050        self.assertNotEqual(self.atom.author, None) 
    5151        self.assertEqual(tc.validAuthor, self.atom.author.name) 
    52          
    53         self.assertEqual(len(self.atom.parameters), 4) 
     52        self.assertEqual(3, len(self.atom.parameters)) 
    5453         
    5554        for param in self.atom.parameters: 
     
    9190        self.assertEqual(tc.maxX, self.atom.maxX) 
    9291        self.assertEqual(tc.maxY, self.atom.maxY) 
    93         self.assertEqual(tc.t1, self.atom.t1) 
    94         self.assertEqual(tc.t2, self.atom.t2) 
     92        self.assertEqual(tc.T1, self.atom.t1) 
     93        self.assertEqual(tc.T2, self.atom.t2) 
    9594         
    9695        # date when the granule was first ingested 
Note: See TracChangeset for help on using the changeset viewer.