iotile / iotile/coretools

Unit tests for iotile-ext-cloud leave json files in main directory

Open
#540 1 comment 0 reactions 1 assignee Claimed by @mattrunchey View on GitHub
iotile-ext-cloud priority:medium type:technical-debt
Dominant language
Python
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

When I run `pytest test` in `iotile-ext-cloud` I get 4 json files created that are not cleaned up when the test runs:

![image](https://user-images.githubusercontent.com/2424759/47823410-6c948000-dd25-11e8-9775-1f1dfd0f3cf7.png)

They should probably use the `tmpdir` fixture from pytest to create them in a temporary directory.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.