(self)
| 538 | return self._nghttp != "" |
| 539 | |
| 540 | def has_nghttp_get_assets(self): |
| 541 | if not self.has_nghttp(): |
| 542 | return False |
| 543 | args = [self._nghttp, "-a"] |
| 544 | p = subprocess.run(args, stderr=subprocess.PIPE, stdout=subprocess.PIPE) |
| 545 | rv = p.returncode |
| 546 | if rv != 0: |
| 547 | return False |
| 548 | return p.stderr == "" |
| 549 | |
| 550 | def get_apxs_var(self, name: str) -> str: |
| 551 | p = subprocess.run([self._apxs, "-q", name], capture_output=True, text=True) |
nothing calls this directly
no test coverage detected