-
-
Notifications
You must be signed in to change notification settings - Fork 14
Support comments in the redirects file #29
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
Conversation
Can you add a test that reads a file with comments and verifies redirects are still added? |
sure |
ci seems to be failing for unrelated reasons tho i think |
@Daltz333 sorry, read tests properly adding test now... |
CI is operational again. Could you rebase off of master to get the fix? |
fddfd4a
to
76409c2
Compare
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.
Since this pr changes functionality in the create_graph
function, tests should go in tests/test_create_graph.py
.
I'd say the only test required is:
rediraffe.txt has a line with a comment and that line should not appear in the output of create_graph
.
76409c2
to
fa9161f
Compare
@TheTripleV i think ive moved the test to the right place, lmk if there are any further changes required to land |
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.
LGTM!
this allows devs to explain why something has been added, or remove after a certain amount of time