Commits

Kirill Simonov  committed 6f2f61c

Updated tests.

  • Participants
  • Parent commits 1883eff

Comments (0)

Files changed (3)

File test/input/addon.yaml

   - uri: /
   - uri: /
     headers:
-      Accept: text/html
+      Accept: '*/*'
     ignore: true
 
 # TWEAK.SQLALCHEMY - adapt to SQLAlchemy

File test/input/library.yaml

     ignore: true
     ifdef: [pgsql, mssql]
   - uri: /{9223372036854775807+1}
+    # FIXME: silent overflow under MySQL 5.1; error under MySQL 5.5.
     expect: 409
     ignore: true
     ifdef: [pgsql, mssql]
   - uri: /{7*2147483647, 9223372036854775807+1}
     # FIXME: Older SQLite silently truncates the result, newer SQLite
     # converts the result to float.
-    ifndef: [pgsql, mssql, sqlite]
+    ifdef: [oracle]
   # Division by zero
   - uri: /{7/0}
     expect: 409

File test/output/pgsql.yaml

         body: |
           Got an error from the database driver:
               duplicate key value violates unique constraint "manufacturer_pk"
+              DETAIL:  Key (code)=(ACID) already exists.
           While executing SQL:
               INSERT INTO "public"."manufacturer" ("code", "name")
               VALUES (%s, %s)