From 35454875b63e114d10ee147e65d0041410b1c9b5 Mon Sep 17 00:00:00 2001 From: Eray Ozkural Date: Wed, 22 Feb 2017 22:46:03 +0300 Subject: [PATCH] pisi.xmldoc -> pisi.data --- tests/archivetests.py | 2 +- tests/conflicttests.py | 2 +- tests/dependencytests.py | 2 +- tests/fetchertests.py | 2 +- tests/filestests.py | 2 +- tests/graphtests.py | 2 +- tests/metadatatests.py | 2 +- tests/packagedbtests.py | 2 +- tests/packagetests.py | 2 +- tests/sourcedbtests.py | 2 +- tests/specfiletests.py | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/archivetests.py b/tests/archivetests.py index 7ed9b19..936dfe1 100644 --- a/tests/archivetests.py +++ b/tests/archivetests.py @@ -20,7 +20,7 @@ from pisi import sourcearchive from pisi import fetcher from pisi import util -from pisi.xmldoc import SpecFile +from pisi.data import SpecFile from pisi import uri import testcase diff --git a/tests/conflicttests.py b/tests/conflicttests.py index a8a8ab5..ce417b4 100644 --- a/tests/conflicttests.py +++ b/tests/conflicttests.py @@ -47,7 +47,7 @@ def setUp(self): ctx.installdb.install('inst4', '2.1', '2', '3') for name in packages.keys(): - pkg = pisi.xmldoc.specfile.Package() + pkg = pisi.data.specfile.Package() pkg.name = name pkg.conflicts = packages[name] d_t[name] = pkg diff --git a/tests/dependencytests.py b/tests/dependencytests.py index fb218e0..55f900f 100644 --- a/tests/dependencytests.py +++ b/tests/dependencytests.py @@ -12,7 +12,7 @@ import unittest import os -from pisi.xmldoc.dependency import * +from pisi.data.dependency import * class DependencyTestCase(unittest.TestCase): def setUp(self): diff --git a/tests/fetchertests.py b/tests/fetchertests.py index 9b56280..d381c8e 100644 --- a/tests/fetchertests.py +++ b/tests/fetchertests.py @@ -15,7 +15,7 @@ import pisi.context as ctx import pisi.api -from pisi.xmldoc import SpecFile +from pisi.data import SpecFile from pisi import fetcher from pisi import util from pisi import uri diff --git a/tests/filestests.py b/tests/filestests.py index 806e680..4a56c6c 100644 --- a/tests/filestests.py +++ b/tests/filestests.py @@ -15,7 +15,7 @@ import pisi.context as ctx import pisi.api import pisi.db.install as installdb -import pisi.xmldoc.files as files +import pisi.data.files as files from pisi import util import testcase diff --git a/tests/graphtests.py b/tests/graphtests.py index aaedf97..6d23583 100644 --- a/tests/graphtests.py +++ b/tests/graphtests.py @@ -12,7 +12,7 @@ import unittest import os -from pisi import graph +from pisi.data import graph class GraphTestCase(unittest.TestCase): def setUp(self): diff --git a/tests/metadatatests.py b/tests/metadatatests.py index a0a8fb7..6e0c0e7 100644 --- a/tests/metadatatests.py +++ b/tests/metadatatests.py @@ -12,7 +12,7 @@ import unittest import os -from pisi.xmldoc import metadata +from pisi.data import metadata from pisi import util class MetaDataTestCase(unittest.TestCase): diff --git a/tests/packagedbtests.py b/tests/packagedbtests.py index 56b99ae..80b5984 100644 --- a/tests/packagedbtests.py +++ b/tests/packagedbtests.py @@ -16,7 +16,7 @@ import pisi.api from pisi.db import PackageDB, Repo from pisi import util -from pisi.xmldoc import SpecFile +from pisi.data import SpecFile import testcase class PackageDBTestCase(testcase.TestCase): diff --git a/tests/packagetests.py b/tests/packagetests.py index 2596f12..e8b78a1 100644 --- a/tests/packagetests.py +++ b/tests/packagetests.py @@ -14,7 +14,7 @@ from pisi import util import pisi.context as ctx -from pisi.xmldoc import package +from pisi.data import package import testcase class PackageTestCase(testcase.TestCase): diff --git a/tests/sourcedbtests.py b/tests/sourcedbtests.py index 1ea4af2..fbf1248 100644 --- a/tests/sourcedbtests.py +++ b/tests/sourcedbtests.py @@ -16,7 +16,7 @@ import pisi.api import pisi.db.source as sourcedb from pisi import util -from pisi.xmldoc import SpecFile +from pisi.data import SpecFile import testcase class SourceDBTestCase(testcase.TestCase): diff --git a/tests/specfiletests.py b/tests/specfiletests.py index 82efd7b..ff6aad2 100644 --- a/tests/specfiletests.py +++ b/tests/specfiletests.py @@ -12,7 +12,7 @@ import unittest import os -import pisi.xmldoc.specfile as specfile +import pisi.data.specfile as specfile import pisi.util as util class SpecFileNewTestCase(unittest.TestCase):