whatsplay / whatsapp-play

Command line software through which you can play with your WhatsApp. It is having different options to play with your WhatsApp like message blast, online tracking, whatsapp chat..
MIT License
403 stars 218 forks source link

All Test files updated according to updated logger class and helper file. #300

Closed SinghHimadri closed 4 years ago

SinghHimadri commented 4 years ago

Issue that this pull request solves

102

Closes: # (issue number)

Proposed changes

1.test_kill_child_process.py-Updated according to current kill_process file 2.helper.py-test_log_file_path added to test logger class 3.test_helper.py-test_log_file_path existence checked 4.Logger.py-(i) Format of the logger is changed asc time is removed as it was not possible to check the content of log file with this format (ii)testwplay.log file is created and updated according to the current logger class 5.test_logger.py-Test is changed to the current format of the logger class. 6.wplay/main-EOL error fixed using multiline string Brief description of what is fixed or changed All are running successfully and updated according to the current format of the project.

Types of changes

Test files changed, the test log file created path added and EOL error removed Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply

Screenshots

Please attach the screenshots of the changes made in case of a change in the user interface Screenshot from 2020-04-16 23-04-54

Other information

Any other information that is important to this pull request

SinghHimadri commented 4 years ago

@xandao6 @rpotter12 Please review my PR.

rpotter12 commented 4 years ago

Codacy Here is an overview of what got changed by this pull request:


Complexity decreasing per file
==============================
+ tests/test_logger.py  -1

See the complete overview on Codacy