def METHOD_NAME(self):
    netstat_path = os.path.join(MODULE_PATH, "netstat.py")
    netstat_process = subprocess.Popen(
        [sys.executable, netstat_path],
        stdout=subprocess.PIPE,
        stderr=subprocess.PIPE,
    )
    time.sleep(1)
    netstat_process.kill()
    stdout, stderr = netstat_process.communicate()
    self.assertEqual(
        len(stderr), 0, "Expected stderr to be empty, got %s" % (stderr)
    )
    self.assertTrue(
        b"net.sockstat.num_sockets" in stdout,
        "Did not find expected data in stdout (%s)" % (stdout),
    )
    self.assertTrue(
        b"net.stat.tcp.invalid_sack" in stdout,
        "Did not find expected data in stdout (%s)" % (stdout),
    )