This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src
Joe LeVeque 58db2d53e3
[sonic-py-common] Add unit test framework (#5238)
**- Why I did it**

To install the framework for adding unit tests to the sonic-py-common package and report coverage.

** How I did it **

- Incorporate pytest and pytest-cov into sonic-py-common package build
- Updgrade version of 'mock' installed to version 3.0.5, the last version which supports Python 2. This fixes a bug where the file object returned from `mock_open()` was not iterable (see https://bugs.python.org/issue32933)
- Add support for Python 3 setuptools and pytest in sonic-slave-buster environment
- Add tests for `device_info.get_machine_info()` and `device_info.get_platform()` functions
- Also add a .gitignore in the root of the sonic-py-common directory, move all related ignores from main .gitignore file, and add ignores for files and dirs generated by pytest-cov
2020-08-24 10:35:22 -07:00
..
bash Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
dhcpmon [docker-dhcp-relay]: convert dhcp-relay docker to buster (#4671) 2020-06-22 15:34:21 -07:00
gobgp Update go version to 1.11.2 for gobgp and telemetry (#2230) 2018-11-09 21:56:39 -08:00
hiredis Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
iccpd [iccpd] Fix uninitialized variable. (#5112) 2020-08-21 00:27:04 -07:00
ifupdown2 Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
initramfs-tools [secureboot] Add secureboot support for Arista devices (#4741) 2020-06-22 09:30:31 -07:00
iproute2 Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
iptables [docker-nat]: upgrade docker-nat to buster (#4943) 2020-07-15 22:48:09 -07:00
isc-dhcp [docker-dhcp-relay]: convert dhcp-relay docker to buster (#4671) 2020-06-22 15:34:21 -07:00
ixgbe Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
kdump-tools Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
libnl3 Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
libteam Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
libyang Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
lldpd Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
lm-sensors [dockers] update mellanox syncd and pmon to buster (#4818) 2020-07-18 03:46:15 -07:00
monit Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
mpdecimal Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
ptf@36a3e3d9ac [docker-sonic-mgmt] install ptf framework in mgmt container and upgrade ptf (#3239) 2019-07-30 10:19:48 -07:00
python3 Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
python-click Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
radvd Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
redis Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
redis-dump-load@7585497951 [redis-dump-load] Update submodule (#5215) 2020-08-19 11:23:42 -07:00
redis-dump-load.patch [baseimage]: Build and install redis-dump-load Python 3 package in host image (#4661) 2020-05-30 05:52:27 -07:00
sflow Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
smartmontools Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
snmpd Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
socat Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
sonic-bgpcfgd Fix for ipv6 local-addr problem (#4876) 2020-07-31 10:40:38 -07:00
sonic-config-engine [sonic-config-engine] Update .gitignore (#5223) 2020-08-20 11:09:10 -07:00
sonic-dbsyncd@399ac217c6 [Submodule update] sonic-dbsyncd (#4801) 2020-06-19 11:03:02 -07:00
sonic-device-data Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
sonic-frr [FRR]: Update frr to latest 7.2.1-s3 (#4294) 2020-04-01 12:57:19 -07:00
sonic-host-service [sonic-host-service]: Add SONiC Host Services infrastructure (#4840) 2020-08-21 15:34:14 -07:00
sonic-linux-kernel@d155c1ea89 [submodule]: update sonic-linux-kernel (#4940) 2020-07-12 18:08:52 +00:00
sonic-mgmt-common@cc01ce40ac [sonic-telemetry][sonic-mgmt-common] Update submodules (#4986) 2020-07-22 11:51:15 -07:00
sonic-mgmt-framework@3c3384cec8 Mgmt reorg -- submodule and build rules for sonic-mgmt-common (#4765) 2020-06-22 16:01:55 -07:00
sonic-platform-common@433dd1ae9d [sonic-platform-common] Update submodule (#5173) 2020-08-13 19:15:40 -07:00
sonic-platform-daemons@80661c7ece [sonic-platform-daemons] Update submodule (#5190) 2020-08-15 12:34:43 -07:00
sonic-py-common [sonic-py-common] Add unit test framework (#5238) 2020-08-24 10:35:22 -07:00
sonic-py-swsssdk@2df4f40fce [sonic-snmpagent][sonic-py-swsssdk] Update submodules (#4968) 2020-07-17 11:20:39 -07:00
sonic-quagga@e3b3b634e7 [sonic-quagga] update submodule with multiDB Changes (#4557) 2020-05-27 11:12:33 -07:00
sonic-restapi@d821e5a9d8 Enable restapi, update sonic-restapi (#5169) 2020-08-13 11:29:49 -07:00
sonic-sairedis@f0b1e5472f [sonic-sairedis] Update submodule (#5156) 2020-08-12 19:49:10 -07:00
sonic-snmpagent@1a2b62a930 [submodule]: Advance sonic-snmpagent. (#5213) 2020-08-19 04:27:09 -07:00
sonic-swss@c4949a20a2 [sonic-swss] Update submodule (#5231) 2020-08-22 18:41:32 -07:00
sonic-swss-common@49a7c9d87e Advance swss-common submodule. (#5222) 2020-08-20 15:10:19 -07:00
sonic-telemetry@3bd7ca3587 [sonic-telemetry][sonic-mgmt-common] Update submodules (#4986) 2020-07-22 11:51:15 -07:00
sonic-utilities@17fb3781b2 [sonic-utilities] Update submodule (#5233) 2020-08-21 13:58:46 -07:00
sonic-yang-mgmt Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
sonic-yang-models [sonic-vlan.yang]: Correct Pattern for VLAN. (#5165) 2020-08-15 12:38:15 -07:00
sonic-ztp@dd025bc257 [sonic-ztp] Update submodule (#5120) 2020-08-07 14:37:46 -07:00
supervisor Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
swig Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00
systemd-sonic-generator [systemd-generator]: Remove creation of NUM_ASIC environment (#5122) 2020-08-11 13:58:20 -07:00
tacacs [TACACS+]: Add support to specify source address for TACACS+ (#4610) 2020-07-12 18:08:51 +00:00
thrift Reorganize .gitignore files (#4707) 2020-06-09 21:04:55 -07:00