fix nat cpp tests
This commit is contained in:
@@ -18,13 +18,13 @@
|
|||||||
hxmlFile "extern-files/python/args.hxml"
|
hxmlFile "extern-files/python/args.hxml"
|
||||||
importHxFile "extern-files/python/import.hx"
|
importHxFile "extern-files/python/import.hx"
|
||||||
langProjectFile "extern-files/python/requirements.txt")
|
langProjectFile "extern-files/python/requirements.txt")
|
||||||
[:Array<String> titles _ :Array<String> props _ :String mediaWikiUrl _ :Float maxLag (or maxLag 1) :Map<String,String> headers _]
|
[:Array<String> titles _ :Array<String> props _ :String mediaWikiUrl _ :String maxLag (if maxLag (Std.string maxLag) "1") :Map<String,String> headers _]
|
||||||
(Requests.get mediaWikiUrl
|
(Requests.get mediaWikiUrl
|
||||||
[
|
[
|
||||||
=>"action" "query"
|
=>"action" "query"
|
||||||
=>"titles" (titles.join "|")
|
=>"titles" (titles.join "|")
|
||||||
=>"prop" (props.join "|")
|
=>"prop" (props.join "|")
|
||||||
=>"maxlag" (Std.string maxLag)
|
=>"maxlag" maxLag
|
||||||
=>"format" "json"
|
=>"format" "json"
|
||||||
]
|
]
|
||||||
(object headers headers))))
|
(object headers headers))))
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
./bin/cpp/test/TestMain
|
./bin/cpp/TestMain
|
Reference in New Issue
Block a user