Nils Winkler
|
3aed38c79f
|
Updated acpi tests
Trying to cover the currently implemented tests, but I don't have a
system with acpi available for testing. Relying on assumptions so far.
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
812f49e457
|
Started first tests for acpi command
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
a4824cc8c8
|
Changed pmset test to use printf
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
b7b8a0afe0
|
Completed tests for upower command
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
5ab23e3ca0
|
Added test cases for acpi, upower and ioreg, need to fill in data
The one for ioreg works fine, the others currently fail.
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
b4c6029706
|
Made setup function for _command_exists generic
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
28c41efcbc
|
Simplified setup fixture for pmset/_command_exists
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
c221648a7f
|
Refactored setup function for pmset
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
c8d86858fd
|
Added setup function for _command_exists that works for pmset
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
d0b3205de0
|
Added an additional test case and a fix for using the pmset command
The other commands still need to be mocked and tested/fixed, too.
|
2017-11-02 06:46:01 +01:00 |
Nils Winkler
|
ef28b2788b
|
Added test cases for battery_percentage with pmset
Need to figure out way to ensure that pmset is used every time...
|
2017-11-02 06:46:01 +01:00 |