'``ZFSSnapshots.list`` parses out the snapshot names of a non-root
dataset from the results of the command.'

def test_list_result_child_dataset(self):

    reactor = FakeProcessReactor()
    snapshots = ZFSSnapshots(reactor, Filesystem('mypool', 'myfs'))
    d = snapshots.list()
    process_protocol = reactor.processes[0].processProtocol
    process_protocol.childDataReceived(1, 'mypool/myfs@name\n')
    process_protocol.childDataReceived(1, 'mypool/myfs@name2\n')
    reactor.processes[0].processProtocol.processEnded(Failure(ProcessDone(0)))
    self.assertEqual(self.successResultOf(d), ['name', 'name2'])
