summaryrefslogtreecommitdiff
path: root/fuzzer1.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-07-24 00:55:33 +0200
committerYves Fischer <yvesf-git@xapek.org>2016-07-24 00:58:37 +0200
commit8f54b1960e2050536f34f091c1de291febd486df (patch)
tree63de297dc93365e67cb2e0af2ee81e9d94e9fabb /fuzzer1.py
parentfbb91144484ad729c2d6b54c69d4ce3a6c80aa55 (diff)
downloadpyinflux-8f54b1960e2050536f34f091c1de291febd486df.tar.gz
pyinflux-8f54b1960e2050536f34f091c1de291febd486df.zip
move doctest to unittestHEADmaster
fix small bug with parsing quoted escaped escapes
Diffstat (limited to 'fuzzer1.py')
-rwxr-xr-xfuzzer1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzer1.py b/fuzzer1.py
index 57b5de6..8339fff 100755
--- a/fuzzer1.py
+++ b/fuzzer1.py
@@ -14,7 +14,7 @@ value_generator = itertools.count()
def test(number):
for value in value_generator:
- if value + 1 % 500 == 0:
+ if (value + 1) % 500 == 0:
print("thread {} at {}".format(number, value))
expected = "value{value}".format(value=value)
line = Line('series' + str(value),