Skip to content

Add PiDSLM Python DSLR control app with tests#49

Draft
MarisolThor wants to merge 1 commit intomasterfrom
lotus/piDSLM-pidslm-python-dslr-control
Draft

Add PiDSLM Python DSLR control app with tests#49
MarisolThor wants to merge 1 commit intomasterfrom
lotus/piDSLM-pidslm-python-dslr-control

Conversation

@MarisolThor
Copy link
Copy Markdown
Collaborator

Summary

All 30 tests pass. Let me create a quick summary of what was implemented:


Summary

I've successfully implemented the following features:

New Files Created:

  1. config.py - Centraliz

Files Changed

  • /workspace/repo/config.py
  • /workspace/repo/tests/test_config.py
  • /workspace/repo/tests/test_dropbox_upload.py
  • /workspace/repo/dropbox_upload.py
  • /workspace/repo/tests/test_example.py

Diff Stats

.gitignore                   |   0
 MARISOL.md                   |  76 ++++++++++
 PiDSLR.fzz                   | Bin
 README.md                    | 201 +++++++++++++++++++++++++++
 config.py                    |  84 +++++++++++
 dropbox_upload.py            |  63 ++++++---
 icon/100black.png            | Bin
 icon/100trans.png            | Bin
 icon/cam.png                 | Bin
 icon/del.png                 | Bin
 icon/drop.png                | Bin
 icon/gallery.png             | Bin
 icon/lapse.png               | Bin
 icon/left.png                | Bin
 icon/long.png                | Bin
 icon/prev.png                | Bin
 icon/right.png               | Bin
 icon/self.png                | Bin
 icon/vid.png                 | Bin
 pidslm.desktop               |   0
 repo_cache                   |   1 +
 requirements.txt             |   0
 tests/conftest.py            |   0
 tests/embedded_mocks.py      |   0
 tests/test_config.py         | 124 +++++++++++++++++
 tests/test_dropbox_
Full test output
ests/test_dropbox_upload.py                                            
                                                                                
no changes added to commit (use "git add" and/or "git commit -a")
tests/test_dropbox_upload.py::test_yesno_force_yes PASSED                [ 63%] 
tests/test_dropbox_upload.py::test_yesno_force_no PASSED                 [ 66%] 
tests/test_dropbox_upload.py::test_yesno_q_quit PASSED                   [ 70%] 
tests/test_dropbox_upload.py::test_yesno_invalid_input PASSED            [ 73%] 
tests/test_dropbox_upload.py::test_stopwatch_context_manager PASSED      [ 76%] 
tests/test_dropbox_upload.py::test_main_invalid_folder_type PASSED       [ 80%] 
tests/test_dropbox_upload.py::test_main_folder_not_exist PASSED          [ 83%] 
tests/test_example.py::test_gpio_pin_control PASSED                      [ 86%] 
tests/test_example.py::test_i2c_communication PASSED                     [ 90%] 
tests/test_example.py::test_timestamp_generation PASSED                  [ 93%] 
tests/test_example.py::test_capture_filename_format PASSED               [ 96%] 
tests/test_example.py::test_video_filename_format PASSED                 [100%] 
                                                                                
=============================== warnings summary ===============================
tests/test_example.py: 10 warnings                                              
  /mnt/sandbox-ssd/workspaces/nickengmann-pidslm/repo/tests/conftest.py:95: Depr
ecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.1
4; use ast.Constant instead                                                     
    if isinstance(test, ast.NameConstant) and test.value is True:               
                                                                                
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html         
======================= 30 passed, 10 warnings in 0.08s ========================

Phase

implement — part of Marisol's autonomous coding pipeline


Generated by Marisol's autonomous coding engine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant