stormpath / stormpath-flask

Build simple, secure web applications with Stormpath and Flask!
http://flask-stormpath.readthedocs.org/en/latest/
Other
155 stars 31 forks source link

Tests not cleaning up apiKeys #83

Closed jcass77 closed 7 years ago

jcass77 commented 8 years ago

It looks like the Stormpath service automatically creates new apiKeys whenever an application is created.

At the moment, separate accounts are created for each test in setUp to allow stormpath-flask unit tests to be run in parallel.

Unfortunately, these keys are never cleaned up again and remain even after the application and its directories are deleted.

The end result is that hundreds of apiKeys are created, which become impossible to administrate using the Stormpath website.

We probably need to clean these up properly, and delete any apiKeys that are created using the tearDown method.

rdegges commented 8 years ago

Thanks, I'll work on this.

jcass77 commented 7 years ago

Doesn't look like GitHub closed this issue automatically when we merged #93 for some reason?

Closing manually...

rdegges commented 7 years ago

It usually only does it when I merge into master. I was waiting on the other updates to that one PR before merge / release =D