364
364
class ZeitgeistUDFsTestCase(ZeitgeistListenerTestCase):
365
365
"""Tests for all UDFs-related zeitgeist events."""
368
369
"""Initialize this test instance."""
370
371
self.home_dir = self.mktemp('ubuntuonehacker')
371
372
self._old_home = os.environ['HOME']
372
373
os.environ['HOME'] = self.home_dir
375
377
"""Finalize this test instance."""
377
378
os.environ['HOME'] = self._old_home
380
381
def _create_udf(self, id, node_id, suggested_path, subscribed=True):
381
382
"""Create an UDF and returns it and the volume."""