FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sysdig-sdk-python/specs/__init__.py at master · sysdiglabs/sysdig-sdk-python · GitHub
This repository was archived by the owner on May 7, 2026. It is now read-only.
sysdiglabs
/
sysdig-sdk-python
Public archive
Notifications
You must be signed in to change notification settings
Fork
42
Star
69
Code
Issues
12
Pull requests
17
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
sysdig-sdk-python
/
specs
/
__init__.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (8 loc) · 333 Bytes
Breadcrumbs
sysdig-sdk-python
/
specs
/
__init__.py
Copy path
File metadata and controls
12 lines (8 loc) · 333 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
from
expects
.
matchers
import
Matcher
class
_be_successful_api_call
(
Matcher
):
def
_match
(
self
,
expect
):
ok
,
result
=
expect
if
ok
:
return
True
, [
f"the api call was successful:
{
str
(
result
)
}
"
]
return
False
, [
f"the result is
{
str
(
result
)
}
"
]
be_successful_api_call
=
_be_successful_api_call
()
Back
|
FazBrowse Home
|
New Git URL