Logo Search packages:      
Sourcecode: magicicada version File versions  Download package

def magicicada::tests::test_dbusiface::TestLogs::test_sharestome_processing (   self  ) 

Test get shares to me with one.

Definition at line 850 of file test_dbusiface.py.

00850                                         :
        """Test get shares to me with one."""
        d = dict(accepted=u'True', access_level=u'View', free_bytes=u'123456',
                 name=u'foobar', node_id=u'node', other_username=u'johndoe',
                 other_visible_name=u'John Doe', path=u'path',
                 volume_id=u'vol', type=u'Share')
        self.fake_sdt_response('get_shares', [d])
        yield self.dbus.get_shares_to_me()
        self.assertTrue(self.handler.check_inf(
                        "Processing Shares To Me items (1)"))
        self.assertTrue(self.handler.check_dbg("    Share data: %r" % d))

    @defer.inlineCallbacks
    def test_sharestoothers_processing(self):


Generated by  Doxygen 1.6.0   Back to index