IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

14 satır
463B

  1. import subprocess
  2. from focker.zfs import *
  3. import re
  4. def test_bootstrap():
  5. subprocess.run(['focker', 'image', 'remove', '--force', 'test-focker-bootstrap'])
  6. subprocess.run(['focker', 'bootstrap', '--tags', 'test-focker-bootstrap'])
  7. name, sha256 = zfs_find('test-focker-bootstrap', focker_type='volume')
  8. assert len(name) >= 7
  9. assert re.search('[a-f]', name[:7])
  10. assert len(sha256) == 64
  11. assert name == sha256[:len(name)]