-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing/client tests #573
Testing/client tests #573
Conversation
Codecov Report
@@ Coverage Diff @@
## master #573 +/- ##
==========================================
+ Coverage 56.08% 56.51% +0.44%
==========================================
Files 62 62
Lines 3019 3019
==========================================
+ Hits 1693 1706 +13
+ Misses 1119 1104 -15
- Partials 207 209 +2
Continue to review full report at Codecov.
|
err = client.DaemonDown() | ||
assert.Nil(t, err) | ||
println(actualCommand) | ||
assert.Equal(t, actualCommand, session.Calls[0]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't this actually be testing daemon-up.sh
? see line 139 🤔
…d/inertia into testing/client-tests
🎟️ Ticket(s): Closes #
👷 Changes
Increased code coverage for client.go by adding test cases for TOTP, daemon down and ssl verification.
🔦 Testing Instructions
Run test cases for
client_test.go