Move tests under module
Also, while we're at it, clean up some bogus license headers.
This commit is contained in:

committed by
Darragh Bailey

parent
8617ea36bf
commit
29543cd498
@@ -2,7 +2,7 @@
|
|||||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
|
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
|
||||||
${PYTHON:-python} -m subunit.run discover -t ./ ./tests $LISTOPT $IDOPTION
|
${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION
|
||||||
|
|
||||||
test_id_option=--load-list $IDFILE
|
test_id_option=--load-list $IDFILE
|
||||||
test_list_option=--list
|
test_list_option=--list
|
||||||
|
0
git_upstream/tests/__init__.py
Normal file
0
git_upstream/tests/__init__.py
Normal file
@@ -1,12 +1,17 @@
|
|||||||
#
|
|
||||||
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
||||||
#
|
#
|
||||||
# Confidential computer software. Valid license from HP required for
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# possession, use or copying. Consistent with FAR 12.211 and 12.212,
|
# you may not use this file except in compliance with the License.
|
||||||
# Commercial Computer Software, Computer Software Documentation, and
|
# You may obtain a copy of the License at
|
||||||
# Technical Data for Commercial Items are licensed to the U.S. Government
|
|
||||||
# under vendor's standard commercial license.
|
|
||||||
#
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
# implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
"""Tests for the 'commands' module"""
|
"""Tests for the 'commands' module"""
|
||||||
|
|
@@ -1,17 +1,22 @@
|
|||||||
#
|
|
||||||
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
||||||
#
|
#
|
||||||
# Confidential computer software. Valid license from HP required for
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# possession, use or copying. Consistent with FAR 12.211 and 12.212,
|
# you may not use this file except in compliance with the License.
|
||||||
# Commercial Computer Software, Computer Software Documentation, and
|
# You may obtain a copy of the License at
|
||||||
# Technical Data for Commercial Items are licensed to the U.S. Government
|
|
||||||
# under vendor's standard commercial license.
|
|
||||||
#
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
# implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
"""Tests the drop module"""
|
"""Tests the drop module"""
|
||||||
from tests import base
|
|
||||||
|
|
||||||
from git_upstream.commands import drop as d
|
from git_upstream.commands import drop as d
|
||||||
|
from git_upstream.tests import base
|
||||||
from git import repo as r
|
from git import repo as r
|
||||||
from git import GitCommandError
|
from git import GitCommandError
|
||||||
|
|
@@ -1,12 +1,17 @@
|
|||||||
#
|
|
||||||
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
||||||
#
|
#
|
||||||
# Confidential computer software. Valid license from HP required for
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# possession, use or copying. Consistent with FAR 12.211 and 12.212,
|
# you may not use this file except in compliance with the License.
|
||||||
# Commercial Computer Software, Computer Software Documentation, and
|
# You may obtain a copy of the License at
|
||||||
# Technical Data for Commercial Items are licensed to the U.S. Government
|
|
||||||
# under vendor's standard commercial license.
|
|
||||||
#
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
# implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
"""Tests for then 'log' module"""
|
"""Tests for then 'log' module"""
|
||||||
|
|
@@ -1,18 +1,22 @@
|
|||||||
#
|
|
||||||
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
||||||
#
|
#
|
||||||
# Confidential computer software. Valid license from HP required for
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# possession, use or copying. Consistent with FAR 12.211 and 12.212,
|
# you may not use this file except in compliance with the License.
|
||||||
# Commercial Computer Software, Computer Software Documentation, and
|
# You may obtain a copy of the License at
|
||||||
# Technical Data for Commercial Items are licensed to the U.S. Government
|
|
||||||
# under vendor's standard commercial license.
|
|
||||||
#
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
# implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
"""Tests the supersede module"""
|
"""Tests the supersede module"""
|
||||||
|
|
||||||
from tests import base
|
|
||||||
|
|
||||||
from git_upstream.commands import supersede as s
|
from git_upstream.commands import supersede as s
|
||||||
|
from git_upstream.tests import base
|
||||||
from git import repo as r
|
from git import repo as r
|
||||||
from git import GitCommandError
|
from git import GitCommandError
|
||||||
|
|
@@ -1,12 +1,17 @@
|
|||||||
#
|
|
||||||
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
||||||
#
|
#
|
||||||
# Confidential computer software. Valid license from HP required for
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# possession, use or copying. Consistent with FAR 12.211 and 12.212,
|
# you may not use this file except in compliance with the License.
|
||||||
# Commercial Computer Software, Computer Software Documentation, and
|
# You may obtain a copy of the License at
|
||||||
# Technical Data for Commercial Items are licensed to the U.S. Government
|
|
||||||
# under vendor's standard commercial license.
|
|
||||||
#
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
# implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
"""Tests for then 'utils' module"""
|
"""Tests for then 'utils' module"""
|
||||||
|
|
@@ -1,9 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (c) 2012, 2013, 2014 Hewlett-Packard Development Company, L.P.
|
|
||||||
#
|
|
||||||
# Confidential computer software. Valid license from HP required for
|
|
||||||
# possession, use or copying. Consistent with FAR 12.211 and 12.212,
|
|
||||||
# Commercial Computer Software, Computer Software Documentation, and
|
|
||||||
# Technical Data for Commercial Items are licensed to the U.S. Government
|
|
||||||
# under vendor's standard commercial license.
|
|
||||||
#
|
|
Reference in New Issue
Block a user