def test_statOwnerGroup(self):
        """
        Check the owner and groups stats.
        """
        self.createDirectory('ned')
        d = self.shell.stat(('ned',), ('owner', 'group'))
        def cb(res):
            self.assertEqual(len(res), 2)
        d.addCallback(cb)
        return d

        Check the owner and groups stats.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_ftp.py