Skip to content

Commit

Permalink
testutils.mixins: remove extract_unused() method for PktBuf
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Nov 10, 2018
1 parent 9422129 commit 5090d2f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions testutils/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ def ping(self, count, dest_addr, payload_size, delay):


class PktBuf:
def extract_unused(self):
self.pexpect.sendline("pktbuf")
self.pexpect.expect("unused: ([0-9xa-f]+) ")
return self.pexpect.match.group(1)

def is_empty(self):
self.pexpect.sendline("pktbuf")
self.pexpect.expect(r"packet buffer: "
Expand Down

0 comments on commit 5090d2f

Please sign in to comment.