Skip to content

Add dropbox upload script, icons, tests, and documentation#52

Draft
MarisolThor wants to merge 1 commit intomasterfrom
lotus/piDSLM-dropbox-upload-script-icons
Draft

Add dropbox upload script, icons, tests, and documentation#52
MarisolThor wants to merge 1 commit intomasterfrom
lotus/piDSLM-dropbox-upload-script-icons

Conversation

@MarisolThor
Copy link
Copy Markdown
Collaborator

Summary

All done! Let me provide a summary:


Summary

Successfully implemented real features for the piDSLM Dropbox upload module by refactoring dropbox_upload.py with proper separation of concerns

Files Changed

  • /workspace/repo/dropbox_upload.py
  • /workspace/repo/tests/conftest.py
  • /workspace/repo/tests/test_dropbox_filters.py
  • /workspace/repo/test_example.py

Diff Stats

.gitignore                    |   6 ++
 MARISOL.md                    |  66 +++++++++++++
 PiDSLR.fzz                    | Bin
 README.md                     | 219 ++++++++++++++++++++++++++++++++++++------
 dropbox_upload.py             | 130 +++++++++++++++++++------
 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             |   2 +-
 tests/embedded_mocks.py       |   0
 tests/test_dropbox_filters.py |  96 ++++++++++++++++++
 te
Full test output
t_parse_args_default_folder PASSED     [ 80%] 
tests/test_dropbox_filters.py::test_parse_args_default_rootdir PASSED    [ 86%] 
tests/test_example.py::test_gpio_pin_control PASSED                      [ 93%] 
tests/test_example.py::test_i2c_communication PASSED                     [100%] 
                                                                                
=============================== warnings summary ===============================
tests/test_dropbox_filters.py: 40 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         
======================= 15 passed, 40 warnings in 0.11s ========================
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3 
cachedir: .pytest_cache                                                         
rootdir: /mnt/sandbox-ssd/workspaces/nickengmann-pidslm/repo                    
plugins: cov-7.0.0, langsmith-0.4.30, anyio-4.11.0                              
collected 2 items                                                               
                                                                                
tests/test_example.py::test_gpio_pin_control PASSED                      [ 50%] 
tests/test_example.py::test_i2c_communication PASSED                     [100%] 
                                                                                
============================== 2 passed in 0.01s ===============================
Syntax OK

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