Module Expr Str Import alias Import alias Import alias Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Call NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Str SubscriptLoad NameLoad Index Str Assert CompareEq Num Call NameLoad SubscriptLoad NameLoad Index Str Assert CompareEq Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assert CompareEq Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Str Str keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Str SubscriptLoad NameLoad Index Str Assert CompareEq Num Call NameLoad SubscriptLoad NameLoad Index Str Assert CompareEq Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assert CompareEq Str SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A 
This is a guiding test for this kata. You can run it using python 3.3 like this:

    python3 -m unittest guiding_test.py

You need only need implement one of:
- the http interface
- the command line interface

Edit this file to remove one of the test cases as appropriate. 

If you are using the command line interface, you should also change the value of the 
"interpreter" and "reservation_script" variables to match the name of your command line program.
 N/A urllib.request N/A json N/A subprocess N/A unittest N/A os N/A url http://127.0.0.1:8083 N/A interpreter python3 N/A reservation_script N/A N/A N/A os path join python reserve.py TrainReservationTest N/A N/A unittest TestCase N/A test_reserve_seats_via_POST N/A N/A self N/A N/A N/A form_data N/A train_id seat_count express_2000 4 N/A data N/A N/A N/A urllib parse urlencode form_data N/A req N/A N/A N/A urllib request Request N/A url /reserve N/A bytes data encoding ISO-8859-1 N/A response N/A N/A N/A N/A N/A N/A N/A urllib request urlopen req read decode ISO-8859-1 N/A reservation N/A N/A json loads response N/A N/A express_2000 N/A reservation N/A train_id N/A N/A 4 N/A len N/A reservation N/A seats N/A N/A 1A N/A N/A reservation N/A seats N/A 0 N/A N/A 75bcd15 N/A reservation N/A booking_reference N/A test_reserve_seats_via_cmd N/A N/A self N/A N/A N/A response N/A N/A subprocess check_output N/A interpreter reservation_script express2000 4 stderr N/A subprocess STDOUT universal_newlines True N/A reservation N/A N/A json loads response N/A N/A express_2000 N/A reservation N/A train_id N/A N/A 4 N/A len N/A reservation N/A seats N/A N/A 1A N/A N/A reservation N/A seats N/A 0 N/A N/A 75bcd15 N/A reservation N/A booking_reference N/A N/A