Ubuntu Pastebin

Paste from ahasenack at Tue, 21 Nov 2017 17:09:05 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
ubuntu@artful-gu-test-hang-1733388:~/git/projects/usd-importer$ pytest-3 gitubuntu/*.py
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.6.3, pytest-3.1.3, py-1.4.34, pluggy-0.4.0
rootdir: /home/ubuntu/git/projects/usd-importer, inifile:
collected 85 items 

gitubuntu/build.py ........
gitubuntu/git_repository.py .FF.....
gitubuntu/lint.py ..........
gitubuntu/repo_builder.py .........
gitubuntu/test_git_repository.py .........
gitubuntu/test_importer.py ...
gitubuntu/versioning.py ......................................

==================================================================================================== FAILURES =====================================================================================================
_______________________________________________________________________ test_changelog_versions[tests/changelogs/test_versions_2-expected1] _______________________________________________________________________

changelog_path = 'tests/changelogs/test_versions_2', expected = ['2.0', '1.0']

    @pytest.mark.parametrize('changelog_path, expected', [
        ('tests/changelogs/test_versions_1', ['1.0', None]),
        ('tests/changelogs/test_versions_2', ['2.0', '1.0']),
        ('tests/changelogs/test_versions_3', ['4.0', '3.0']),
        ('tests/changelogs/test_versions_unknown', ['ss-970814-1', None]),
    ])
    def test_changelog_versions(changelog_path, expected):
        test_changelog = Changelog.from_path(changelog_path)
>       assert [test_changelog.version, test_changelog.previous_version] == expected

gitubuntu/git_repository.py:360: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <gitubuntu.git_repository.Changelog object at 0x7f500f87d668>

    @property
    def previous_version(self):
        if self._changelog:
            try:
                ret = str(self._changelog.versions[1]).strip()
                if ret != self._shell_previous_version:
                    raise ChangelogError(
                        'Old (%s) and new (%s) changelog values do not agree' %
>                       (self._shell_previous_version, ret)
                    )
E                   gitubuntu.git_repository.ChangelogError: Old (2.0) and new (1.0) changelog values do not agree

gitubuntu/git_repository.py:225: ChangelogError
_______________________________________________________________________ test_changelog_versions[tests/changelogs/test_versions_3-expected2] _______________________________________________________________________

changelog_path = 'tests/changelogs/test_versions_3', expected = ['4.0', '3.0']

    @pytest.mark.parametrize('changelog_path, expected', [
        ('tests/changelogs/test_versions_1', ['1.0', None]),
        ('tests/changelogs/test_versions_2', ['2.0', '1.0']),
        ('tests/changelogs/test_versions_3', ['4.0', '3.0']),
        ('tests/changelogs/test_versions_unknown', ['ss-970814-1', None]),
    ])
    def test_changelog_versions(changelog_path, expected):
        test_changelog = Changelog.from_path(changelog_path)
>       assert [test_changelog.version, test_changelog.previous_version] == expected

gitubuntu/git_repository.py:360: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <gitubuntu.git_repository.Changelog object at 0x7f500f807780>

    @property
    def previous_version(self):
        if self._changelog:
            try:
                ret = str(self._changelog.versions[1]).strip()
                if ret != self._shell_previous_version:
                    raise ChangelogError(
                        'Old (%s) and new (%s) changelog values do not agree' %
>                       (self._shell_previous_version, ret)
                    )
E                   gitubuntu.git_repository.ChangelogError: Old (4.0) and new (3.0) changelog values do not agree

gitubuntu/git_repository.py:225: ChangelogError
======================================================================================= 2 failed, 83 passed in 0.52 seconds =======================================================================================
ubuntu@artful-gu-test-hang-1733388:~/git/projects/usd-importer$ 
Download as text