Cloud-CV / evalai-cli

:cloud: :rocket: Official EvalAI Command Line Tool
https://cli.eval.ai
BSD 3-Clause "New" or "Revised" License
55 stars 63 forks source link

Added Test for Utils/auth.py #245

Open jayaike opened 4 years ago

jayaike commented 4 years ago

With reference to https://github.com/Cloud-CV/evalai-cli/issues/244. I have added the test cases for utils/auth.py

@RishabhJain2018 @Ram81 @pushkalkatara @vkartik97

The aim of this is to increase test coverage to at least 90%.

jayaike commented 4 years ago

@Ram81 @RishabhJain2018 @vkartik97 @pushkalkatara please review

pushkalkatara commented 4 years ago

Hi @nsjcorps You need to create a token file and enter a valid token in it while the test setUp and remove the token while test tearDown.