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

File too Big (Upload Issue) #1559

Closed
wants to merge 3 commits into from
Closed

Conversation

makakken
Copy link
Contributor

Description of the issue/feature this PR addresses:
issue 170 in modoboa-webmail modoboa/modoboa-webmail#170

Current behavior before PR:
returns 0 if you enter int values (or add "b" for bytes)

Desired behavior after PR is merged:
returns right int if feeded with int (should we add "b" for bytes as well?)

modoboa/modoboa-webmail#170

size2 integer was returning 0 when called with int values.
returns correct values now
works now.
@makakken
Copy link
Contributor Author

first commit in python. please give me a hint where to edit unit-test, or what to make better next time.

@codecov
Copy link

codecov bot commented Aug 29, 2018

Codecov Report

Merging #1559 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #1559   +/-   ##
=======================================
  Coverage   85.94%   85.94%           
=======================================
  Files         143      143           
  Lines        7441     7441           
=======================================
  Hits         6395     6395           
  Misses       1046     1046

@tonioo
Copy link
Member

tonioo commented Sep 11, 2018

@makakken Thank you. You can find examples in the modoboa/lib/tests folder.

@tonioo
Copy link
Member

tonioo commented Oct 17, 2018

PR #1595 fixes this issue and adds unit tests.

@tonioo tonioo closed this Oct 17, 2018
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