def build_ir_object(self):
     """ Creates basic bell ir object.
         'ir_obj.date' and if necessary, 'ir_obj.filename', will be set dynamically
         NOTE: 2015-03-05 -- date unnecessary; already in fedora.
         """
     obj = irMetadata.make_ir()
     assert unicode(repr(type(obj))) == "<class 'bdrxml.irMetadata.IR'>", unicode(repr(type(obj)))
     obj.depositor_name = "Bell Gallery"
     obj.date = datetime.datetime.today()  # ir.date = '%s' % now.strftime('%Y-%m-%d')
     obj.date = "%s" % datetime.datetime.now().strftime("%Y-%m-%d")
     return obj
 def setUp(self):
     self.ir = make_ir()