예제 #1
0
파일: test_model.py 프로젝트: F3DS/f3ds
 def testRepr(self):
     'Test that ScanDigestFile repr makes sense.'
     sdfile = ScanDigestFile(self.owner, url=self.url, location=self.location)
     actual = sdfile.__repr__()
     expected = 'ScanDigestFile(id=None, ScanDigest, %r, %r)' % (self.owner, sdfile.filename)
     self.assertEqual(expected, actual)