Skip to content

Commit

Permalink
update test script
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzoic committed Mar 21, 2024
1 parent 3524126 commit 20c1980
Showing 1 changed file with 28 additions and 19 deletions.
47 changes: 28 additions & 19 deletions tests/simple.ini
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
[Regex Reader 2]
_module = countess.plugins.regex
_class = RegexReaderPlugin
_version = 0.0.33
_hash = 085bc9817a084bc8bdcba086b6275dbc8bc5772820b3d56b6c720c55c5801575
_version = 0.0.47
_hash = 8efc4f174412be7caabf23dcb61ccbb967867c68f154eb2b9acddd56fcd2cd04
_position = 125 750
files.0.filename = 'input2.txt'
regex = '(\\w+) (\\d+)\\.(\\d+)-(\\d+)_(\\d+)'
skip = 0
output.0.name = 'thing'
output.0.datatype = 'string'
output.0.index = True
output.1.name = 'foo'
output.1.datatype = 'integer'
output.1.index = False
output.2.name = 'bar'
output.2.datatype = 'integer'
output.2.index = False
output.3.name = 'baz'
output.3.datatype = 'integer'
output.3.index = False
output.4.name = 'qux'
output.4.datatype = 'integer'
output.4.index = False

[CSV Load 1]
_module = countess.plugins.csv
_class = LoadCsvPlugin
_version = 0.0.33
_hash = 87a770ecd4cd965f6062f3b3e90e013f1d62b69690031d540ffaab3153442c3e
_version = 0.0.47
_hash = c23bbc0806e6b84ccbbd688960175d399ebf41a1bcd0438ab2ff8e10eae33f7b
_position = 125 250
files.0.filename = 'input1.csv'
delimiter = ','
Expand All @@ -37,42 +32,56 @@ header = True
filename_column = ''
columns.0.name = 'thing'
columns.0.type = 'string'
columns.0.index = True
columns.0.index = False
columns.1.name = 'number'
columns.1.type = 'integer'
columns.1.index = False

[Join 3]
_module = countess.plugins.join
_class = JoinPlugin
_version = 0.0.33
_hash = fdc96d5bb37c51df3c91256a9e9e20cd91025046702797bcef71459591a0806e
_version = 0.0.47
_hash = 858db07b29f2d130b8d0428fb5d53cc2e170f826b510dc56dacffc3fcb817e0c
_position = 375 500
_parent.0 = Regex Reader 2
_parent.1 = CSV Load 1
inputs.0.join_on = '— INDEX —'
inputs.0.join_on = 'thing'
inputs.0.required = False
inputs.1.join_on = '— INDEX —'
inputs.0.drop = False
inputs.1.join_on = 'thing'
inputs.1.required = False
inputs.1.drop = False

[Embedded Python 4]
_module = countess.plugins.expression
_class = ExpressionPlugin
_version = 0.0.33
_hash = 98368b4e3ba4699d0912af84b587c1e3a992b74211d1593aa015c8149545cbd2
_version = 0.0.47
_hash = 1030fd45509ce55c84eda58fabe0e23da72a4dfc4b46e5565386527d09e0b710
_position = 625 500
_parent.0 = Join 3
code = 'zz = foo * bar / number\n\nnumber < 1000\n\n'
drop.0._label = '"thing"'
drop.0 = False
drop.1._label = '"foo"'
drop.1 = False
drop.2._label = '"bar"'
drop.2 = False
drop.3._label = '"baz"'
drop.3 = False
drop.4._label = '"qux"'
drop.4 = False
drop.5._label = '"number"'
drop.5 = False

[CSV Save 5]
_module = countess.plugins.csv
_class = SaveCsvPlugin
_version = 0.0.33
_hash = 466b09d6a840cf0d7767324538760907fc8744e2e4f2a987e629c25782590bc4
_version = 0.0.47
_hash = 2a8b3d7e8014a4a9786c8e785546e774fa84b91ad44f315e299353ff940ec33c
_position = 875 500
_parent.0 = Embedded Python 4
header = True
filename = 'output.csv'
filename = 'tests/output.csv'
delimiter = ','
quoting = True

0 comments on commit 20c1980

Please sign in to comment.