Skip to content
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

unit and functional tests on validate.py #329

Open
prasadtalasila opened this issue Apr 17, 2018 · 1 comment
Open

unit and functional tests on validate.py #329

prasadtalasila opened this issue Apr 17, 2018 · 1 comment
Assignees

Comments

@prasadtalasila
Copy link
Owner

Create unit and functional tests on validate.py.

@Kausam
Copy link
Contributor

Kausam commented Apr 23, 2018

The commit d8e2add merged into master has some bugs in it. This causes the ubuntu driver to fail when run.
The errors are:

  1. This line requires start_date to be a datetime object whereas actually it is a string. This causes an AttributeError. Similar issues are in other functions of validate.py
  2. It prints [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/#.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/k.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/u.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/b.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/u.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/n.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/t.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/u.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/-.txt doesn't exist [Error | io/linuxInput] Channel /home/irc_logs/ubuntu/2013/01/01/d.txt doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants