import pytrobot.camera as camera
import os.path
import subprocess as sb
import requests


def test_create_img():
    path = 'test_img.jpg'
    sb.run(['rm', '-f', path])
    camera.capture_img(img_path=path)
    assert os.path.isfile(path)
    sb.run(['rm', '-f', path])

f9fe6b621d40f82a04ee794c881d03bc1bf5504b
<mask token>

<mask token>


def test_create_img():
    path = 'test_img.jpg'
    sb.run(['rm', '-f', path])
    camera.capture_img(img_path=path)
    assert os.path.isfile(path)
    sb.run(['rm', '-f', path])

import pytrobot.camera as camera
import os.path
import subprocess as sb
import requests


def test_create_img():
    path = 'test_img.jpg'
    sb.run(['rm', '-f', path])
    camera.capture_img(img_path=path)
    assert os.path.isfile(path)
    sb.run(['rm', '-f', path])
