web/test/jstests/test_utils.html
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 18 May 2015 20:00:06 +0200
changeset 10436 6493c8bf521d
parent 8879 982a49239420
permissions -rw-r--r--
[test] don't leave NULL columns around when making an attribute required It doesn't matter on sqlite (it doesn't do ALTER COLUMN), but when running this test on postgresql it fails to add the 'NOT NULL' constraint otherwise.

<html>
  <head>
    <!-- dependencies -->
    <script type="text/javascript" src="utils.js"></script>
    <script type="text/javascript" src="../../data/jquery.js"></script>
    <script src="../../data/cubicweb.python.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.js" type="text/javascript"></script>
    <script src="../../data/cubicweb.compat.js" type="text/javascript"></script>
    <!-- qunit files -->
    <script type="text/javascript" src="../../../devtools/data/qunit.js"></script>
    <link rel="stylesheet" type="text/css" media="all" href="../../../devtools/data/qunit.css" />
    <!-- test suite -->
    <script src="cwmock.js" type="text/javascript"></script>
    <script src="test_utils.js" type="text/javascript"></script>
  </head>
  <body>
    <div id="main"> </div>
    <h1 id="qunit-header">cw.utils functions tests</h1>
    <h2 id="qunit-banner"></h2>
    <ol id="qunit-tests">
  </body>
</html>