Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

add keyboard interrupt to create_napp #291

Closed
wants to merge 7 commits into from

Conversation

slinksoft
Copy link
Contributor

The Capstone 1 team at FIU attempted to solve issue #212 , in which we simply solved by catching a KeyboardInterrupt exception on create_napp()

This is a redo of the 2nd part of pull request #284 . We solved this issue during the beginning of the semester. At the time, our team didn't know how to use Github properly and how to go about creating pull requests. This time, we created a separate branch that changes to fix only issue #212 .

@slinksoft
Copy link
Contributor Author

slinksoft commented Aug 25, 2020

@hdiogenes , we are getting the same error as last time for test_napps, but we do not understand how adding a simple try-except to handle a KeyboardInterrupt is causing the test to fail. Any advice on this?

Removed try-except block surrounding the entire create_napps function. Instead, we created 3 try-except blocks surrounding the user inputs, which are: username, napps_name, and description
@slinksoft
Copy link
Contributor Author

slinksoft commented Sep 2, 2020

We were able to fix the errors causing test_napps to fail and tested our implementation to confirm that it works. Now, we are going to resolve the pylint errors.

@slinksoft slinksoft marked this pull request as ready for review September 2, 2020 16:36
@hdiogenes hdiogenes requested review from a team, cmagnobarbosa and josemauro and removed request for a team September 2, 2020 18:36
kytos/utils/napps.py Outdated Show resolved Hide resolved
kytos/utils/napps.py Outdated Show resolved Hide resolved
kytos/utils/napps.py Outdated Show resolved Hide resolved
@josemauro
Copy link
Member

This PR is being closed and the modifications are being adjusted in #318

@josemauro josemauro closed this Apr 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants