Re: [PATCH 3/3] Add test cases for the new Size class.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/04/2010 04:56 AM, dcantrell@xxxxxxxxxx wrote:
From: David Cantrell<dcantrell@xxxxxxxxxx>

---
  tests/storage_test/Makefile.am  |    6 +++
  tests/storage_test/size_test.py |   87 +++++++++++++++++++++++++++++++++++++++
  2 files changed, 93 insertions(+), 0 deletions(-)
  create mode 100755 tests/storage_test/size_test.py

+++ b/tests/storage_test/size_test.py
+    def _prefixTestHelper(self, bytes, exp, prefix, abbr):

The 'exp' parameter name is misleading, because someone might want to "fix" this:

+        c = bytes * exp

to
  c = bytes ** exp


Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux