Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this user
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
hallstromj
/
LEAP
Public
forked from
CUEH/LEAP
Notifications
You must be signed in to change notification settings
Fork
2
Star
0
Code
Pull requests
0
Projects
0
Security
Insights
Additional navigation options
Code
Pull requests
Projects
Security
Insights
Files
8f6113c
documents
src
tests
test_dummy.py
.gitignore
Makefile
README.md
requirements.txt
Breadcrumbs
LEAP
/
tests
/
test_dummy.py
Blame
Blame
Latest commit
History
History
22 lines (17 loc) · 481 Bytes
Breadcrumbs
LEAP
/
tests
/
test_dummy.py
Top
File metadata and controls
Code
Blame
22 lines (17 loc) · 481 Bytes
Raw
import pytest import sys import platform sys.path.append("../src/") import js_plugins import plugins def test_grabOutput(): output=js_plugins.grabOutput(["which", "doesnotexist"]) assert len(output)==0 def test_grabOutput_something(): output=js_plugins.grabOutput(["which", "ls"]) assert len(output)>0 assert "ls" in output def test_hostinfo(): h=js_plugins.HostInfo() assert isinstance(h,plugins.Enumeration) assert isinstance(h,plugins.Item)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
You can’t perform that action at this time.