Skip to content

Conversation

@philpep
Copy link
Owner

@philpep philpep commented Aug 21, 2015

This patch work on a new server but not a already provisioned because nginx is already installed and not upgraded.

Travis build: https://travis-ci.org/philpep/test-driven-infrastructure-example/builds/76951116
Jenkins build: https://jenkins.philpep.org/job/test-driven-infrastructure-example-pr/14/

    def test_package(Package):
        nginx = Package("nginx")
        assert nginx.is_installed
>       assert nginx.version.startswith("1.8")
E       assert <built-in method startswith of unicode object at 0x7fd13eee2fc0>('1.8')
E        +  where <built-in method startswith of unicode object at 0x7fd13eee2fc0> = '1.4.6-1ubuntu3.3'.startswith
E        +    where '1.4.6-1ubuntu3.3' = <package nginx>.version

test_nginx.py:7: AssertionError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants