All Test Cases
synoci framework
Tow binaries
bin/synoci (BuildAll)
bin/mkpyenv (BaseAll)
class DSMPatPath():
"""
Get DSM pat path
>>> with DSMPatPath("10.13.22.213") as pat:
... print pat[7166]
synostorage/DSM6.0/7166-dev-6.0.0/synology_alpine_ds2015xs/DSM_DS2015xs_7166.pat
"""
synotestscripts/
├── bin
│ ├── mkpyenv
│ └── synoci
├── README.md
├── requirements.txt
├── suites
│ ├── __init__.py
│ ├── mailplus_server #Test suite
│ │ ├── bootstrap.py
│ │ ├── config.py
│ │ ├── ds_config.py
│ │ ├── __init__.py
│ │ └── test_webapi #Sub test suite
│ │ ├── smtp_webapi.py #Test case
│ │ └── __init__.py
│ │ └── test_cluster #Sub test suite
│ │ ├── setup.py #Test case
│ │ └── __init__.py
├── test
│ ├── main.py
│ ├── test_runner.py
│ └── test_synoci.py
└── utils
├── code_generator.py
├── code_update.py
├── __init__.py
├── loader.py
├── macro.py
└── runner.py
mac_os = PyroObject('192.168.55.66', 'os')
mac_os.uname()
('Darwin', 'flys-iMac.local' ...
mac_os.system('mount_afp ds.local/share /Volums/share')
mac_os.system('cp -rf ~/5G /Volumes/share')