Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to test coverage and fix label_data form #1037

Merged
merged 16 commits into from
Aug 24, 2023

Conversation

michplunkett
Copy link
Collaborator

@michplunkett michplunkett commented Aug 23, 2023

Description of Changes

I added to Officer and Email coverage in another PR and thought it'd be better to add in its own PR. I also addressed an issue with a broken <form> tag.

Tests and linting

  • This branch is up-to-date with the develop branch.
  • pytest passes on my local development environment.
  • pre-commit passes on my local development environment.

@michplunkett michplunkett changed the title Add to Officer coverage Add to Officer and Email coverage Aug 23, 2023
Comment on lines +46 to +47
<form action="{{ url_for('main.label_data', image_id=image.id, department_id=department.id if department else 0) }}"
method="post">
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should address the error, @sea-kelp: #968 (comment)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2023-08-23 at 3 16 03 PM Screenshot 2023-08-23 at 3 17 37 PM

<b>Explanation</b>: after matching the officer's name, badge number, or face to the roster, enter the officer's OpenOversight ID here.
</div>
</div>
</form>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The closing tag is here, @sea-kelp.

@michplunkett michplunkett changed the title Add to Officer and Email coverage Add to test coverage and fix label_data form Aug 23, 2023
@michplunkett michplunkett merged commit 5ff70da into develop Aug 24, 2023
@michplunkett michplunkett deleted the add_additional_officer_coverage branch August 24, 2023 17:01
sea-kelp pushed a commit to OrcaCollective/OpenOversight that referenced this pull request Sep 25, 2023
I added to `Officer` and `Email` coverage in another PR and thought it'd
be better to add in its own PR. I also addressed an issue with a broken
`<form>` tag.

 - [x] This branch is up-to-date with the `develop` branch.
 - [x] `pytest` passes on my local development environment.
 - [x] `pre-commit` passes on my local development environment.
sea-kelp pushed a commit to OrcaCollective/OpenOversight that referenced this pull request Sep 25, 2023
I added to `Officer` and `Email` coverage in another PR and thought it'd
be better to add in its own PR. I also addressed an issue with a broken
`<form>` tag.

 - [x] This branch is up-to-date with the `develop` branch.
 - [x] `pytest` passes on my local development environment.
 - [x] `pre-commit` passes on my local development environment.
sea-kelp pushed a commit to OrcaCollective/OpenOversight that referenced this pull request Oct 9, 2023
I added to `Officer` and `Email` coverage in another PR and thought it'd
be better to add in its own PR. I also addressed an issue with a broken
`<form>` tag.

 - [x] This branch is up-to-date with the `develop` branch.
 - [x] `pytest` passes on my local development environment.
 - [x] `pre-commit` passes on my local development environment.
AetherUnbound pushed a commit to OrcaCollective/OpenOversight that referenced this pull request Nov 11, 2023
I added to `Officer` and `Email` coverage in another PR and thought it'd
be better to add in its own PR. I also addressed an issue with a broken
`<form>` tag.

 - [x] This branch is up-to-date with the `develop` branch.
 - [x] `pytest` passes on my local development environment.
 - [x] `pre-commit` passes on my local development environment.
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.

2 participants