#NEWLINE# def test_create( self ) : #NEWLINE# #INDENT# '\n        ``ZFSSnapshots.create()`` calls the ``zfs snapshot`` command with the\n        given ``bytes`` as the snapshot name.\n        ' #NEWLINE# reactor = FakeProcessReactor ( ) #NEWLINE# snapshots = ZFSSnapshots ( reactor , Filesystem ( b'pool' , 'fs' ) ) #NEWLINE# snapshots . create ( b'myname' ) #NEWLINE# arguments = reactor . processes [ 0 ] #NEWLINE# self . assertEqual ( arguments . args , [ b'zfs' , b'snapshot' , b'pool/fs@myname' ] )