Skip to content

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
amysutedja committed Apr 3, 2020
1 parent 152d0d6 commit 8a3448c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
30 changes: 0 additions & 30 deletions tests/searchcommands/test_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,36 +400,6 @@ def test_option(self):
else:
self.assertFalse('Expected ValueError for {}={}, not a pass.'.format(option.name, illegal_value))

# expected = (
# "Option.View(["
# "(u'foo', u'f'),"
# "('boolean', u'f'),"
# "('code', u'foo == \"bar\"'),"
# "('duration', u'24:59:59'),"
# "('fieldname', u'some.field_name'),"
# "('file', u" + six.text_type(repr(__file__)) + "),"
# "('integer', u'100'),"
# "('logging_configuration', " + repr(environment.logging_configuration) + "),"
# "('logging_level', u'WARNING'),"
# "('map', 'foo'),"
# "('match', u'123-45-6789'),"
# "('optionname', u'some_option_name'),"
# "('record', u'f'),"
# "('regularexpression', u'\\\\s+'),"
# "('required_boolean', u'f'),"
# "('required_code', u'foo == \"bar\"'),"
# "('required_duration', u'24:59:59'),"
# "('required_fieldname', u'some.field_name'),"
# "('required_file', u" + six.text_type(repr(__file__)) + "),"
# "('required_integer', u'100'),"
# "('required_map', 'foo'),"
# "('required_match', u'123-45-6789'),"
# "('required_optionname', u'some_option_name'),"
# "('required_regularexpression', u'\\\\s+'),"
# "('required_set', u'bar'),"
# "('set', u'bar'),"
# "('show_configuration', u'f')])")

expected = {
u'foo': False,
'boolean': False,
Expand Down
3 changes: 0 additions & 3 deletions tests/searchcommands/test_internals_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,6 @@ def test_input_header(self):

input_header = InputHeader()

print("String: %s" % type('\r\n'))
print("Encode: %s" % type('\r\n'.encode()))

with closing(StringIO('\r\n')) as input_file:
input_header.read(input_file)

Expand Down

0 comments on commit 8a3448c

Please sign in to comment.