diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-02-07 22:55:48 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-02-07 23:23:49 +0100 |
commit | ddbc17404620d35f0f3ba801184d7cb93bbeb539 (patch) | |
tree | c656df02b98e16497e5be61ad4316de93937b814 /tests/02_test_upstream_source_tar_unpack.py | |
parent | cc6ee3b56a1ad9967c9d92dfcf1159a2a30e007d (diff) |
UpstreamSource: turn is_* vars and properties into methods
since this is more consistent with the other is_* methods in other
classes.
Diffstat (limited to 'tests/02_test_upstream_source_tar_unpack.py')
-rw-r--r-- | tests/02_test_upstream_source_tar_unpack.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/02_test_upstream_source_tar_unpack.py b/tests/02_test_upstream_source_tar_unpack.py index 9366dd95..dcd624bd 100644 --- a/tests/02_test_upstream_source_tar_unpack.py +++ b/tests/02_test_upstream_source_tar_unpack.py @@ -50,12 +50,12 @@ class TestUnpack: def test_upstream_source_type(self): for (comp, archive) in self.archives.iteritems(): source = gbp.deb.UpstreamSource(archive[0]) - assert source.is_orig == True - assert source.is_dir == False + assert source.is_orig() == True + assert source.is_dir() == False assert source.unpacked == None source.unpack(".") - assert source.is_orig == True - assert source.is_dir == False + assert source.is_orig() == True + assert source.is_dir() == False assert type(source.unpacked) == str def test_upstream_source_unpack(self): |