You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 5 години
12345678910111213141516
  1. from tests.dds import DDS, dds_fixture_conf_1
  2. @dds_fixture_conf_1('create')
  3. def test_create_sdist(dds: DDS):
  4. dds.sdist_create()
  5. sd_dir = dds.build_dir / 'created-sdist.sds'
  6. assert sd_dir.is_dir()
  7. foo_cpp = sd_dir / 'src/foo.cpp'
  8. assert foo_cpp.is_file()
  9. header_hpp = sd_dir / 'include/header.hpp'
  10. assert header_hpp.is_file()
  11. header_h = sd_dir / 'include/header.h'
  12. assert header_h.is_file()
  13. dds.sdist_export()
  14. assert (dds.repo_dir / 'foo@1.2.3').is_dir()