Skip to content

Commit

Permalink
Revert "[copp] Convert COPP test to pytest (#1633)" (#1643)
Browse files Browse the repository at this point in the history
This reverts commit 9a8fc1e.
  • Loading branch information
lguohan authored May 5, 2020
1 parent 2b975c8 commit e355432
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 469 deletions.
10 changes: 0 additions & 10 deletions tests/common/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,16 +544,6 @@ def check_bgp_session_nsf(self, neighbor_ip):
return True
return False

def get_version(self):
"""
Gets the SONiC version this device is running.
Returns:
str: the firmware version number (e.g. 20181130.31)
"""
output = dut.command("sonic-cfggen -y /etc/sonic/sonic_version.yml -v build_version")
return output["stdout_lines"][0].strip()

class EosHost(AnsibleHostBase):
"""
@summary: Class for Eos switch
Expand Down
Empty file removed tests/copp/__init__.py
Empty file.
31 changes: 0 additions & 31 deletions tests/copp/conftest.py

This file was deleted.

118 changes: 0 additions & 118 deletions tests/copp/copp_utils.py

This file was deleted.

53 changes: 0 additions & 53 deletions tests/copp/scripts/update_copp_config.py

This file was deleted.

Loading

0 comments on commit e355432

Please sign in to comment.