summaryrefslogtreecommitdiff
path: root/src/server-tests
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-05-28 10:14:06 +0300
committerAlon Levy <alon@pobox.com>2015-06-04 14:22:19 +0300
commit6ed6f96b1c2daa3170fdf60728edcb9080a1d3a2 (patch)
treedaaaadba26ed6d53e0bc169ed2c66254ea3dda72 /src/server-tests
parenta1e13b27982d196b24ebadb10cfe12d0f56dac6e (diff)
add copyright and license headers for GNU AGPL v3
Diffstat (limited to 'src/server-tests')
-rw-r--r--src/server-tests/neo4j_test_util.py17
-rw-r--r--src/server-tests/test_db_controller.py17
-rw-r--r--src/server-tests/test_neo4j_cypher.py17
-rw-r--r--src/server-tests/test_rhizi_api.py17
-rw-r--r--src/server-tests/test_rz_mesh.py17
-rw-r--r--src/server-tests/test_rz_user.py17
-rw-r--r--src/server-tests/test_rz_user_db.py17
-rw-r--r--src/server-tests/test_rzdoc.py17
-rw-r--r--src/server-tests/test_util.py17
-rw-r--r--src/server-tests/test_util__pydev.py17
-rw-r--r--src/server-tests/test_util__rzdoc.py17
11 files changed, 187 insertions, 0 deletions
diff --git a/src/server-tests/neo4j_test_util.py b/src/server-tests/neo4j_test_util.py
index 6ea940e7..ef777150 100644
--- a/src/server-tests/neo4j_test_util.py
+++ b/src/server-tests/neo4j_test_util.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
from random import choice
import string
import uuid
diff --git a/src/server-tests/test_db_controller.py b/src/server-tests/test_db_controller.py
index 27275f08..7abf60e0 100644
--- a/src/server-tests/test_db_controller.py
+++ b/src/server-tests/test_db_controller.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
import logging
import unittest
diff --git a/src/server-tests/test_neo4j_cypher.py b/src/server-tests/test_neo4j_cypher.py
index b6601076..6310b4ec 100644
--- a/src/server-tests/test_neo4j_cypher.py
+++ b/src/server-tests/test_neo4j_cypher.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
# coding=utf-8 # TODO: rm on python 3 migration
import unittest
diff --git a/src/server-tests/test_rhizi_api.py b/src/server-tests/test_rhizi_api.py
index 2924f4e8..f4ad906a 100644
--- a/src/server-tests/test_rhizi_api.py
+++ b/src/server-tests/test_rhizi_api.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
import json
import logging
import unittest
diff --git a/src/server-tests/test_rz_mesh.py b/src/server-tests/test_rz_mesh.py
index 6e6b8b3f..7c8f8cbe 100644
--- a/src/server-tests/test_rz_mesh.py
+++ b/src/server-tests/test_rz_mesh.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
from greenlet import greenlet
import json
import logging
diff --git a/src/server-tests/test_rz_user.py b/src/server-tests/test_rz_user.py
index 0ad70063..4360789a 100644
--- a/src/server-tests/test_rz_user.py
+++ b/src/server-tests/test_rz_user.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
import json
import logging
import unittest
diff --git a/src/server-tests/test_rz_user_db.py b/src/server-tests/test_rz_user_db.py
index b791f879..42f2fc8c 100644
--- a/src/server-tests/test_rz_user_db.py
+++ b/src/server-tests/test_rz_user_db.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
import tempfile
import unittest
diff --git a/src/server-tests/test_rzdoc.py b/src/server-tests/test_rzdoc.py
index d32c2b45..5a0dede3 100644
--- a/src/server-tests/test_rzdoc.py
+++ b/src/server-tests/test_rzdoc.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
import logging
import time
import unittest
diff --git a/src/server-tests/test_util.py b/src/server-tests/test_util.py
index 461ec401..4f409830 100644
--- a/src/server-tests/test_util.py
+++ b/src/server-tests/test_util.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
"""
Various test utilities
"""
diff --git a/src/server-tests/test_util__pydev.py b/src/server-tests/test_util__pydev.py
index 87e9f7b4..ac7d011e 100644
--- a/src/server-tests/test_util__pydev.py
+++ b/src/server-tests/test_util__pydev.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
"""
PYDev test utilities
"""
diff --git a/src/server-tests/test_util__rzdoc.py b/src/server-tests/test_util__rzdoc.py
index f2ad2004..5371c4aa 100644
--- a/src/server-tests/test_util__rzdoc.py
+++ b/src/server-tests/test_util__rzdoc.py
@@ -1,3 +1,20 @@
+# This file is part of rhizi, a collaborative knowledge graph editor.
+# Copyright (C) 2014-2015 Rhizi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
from db_op import DBO_raw_query_set
import neo4j_util