From 3258d9fee84e9c65e040cbeea49a7ed3e72d42b9 Mon Sep 17 00:00:00 2001 From: Prashant Sinha Date: Sun, 2 Oct 2016 22:47:32 +0530 Subject: [PATCH] Fixed tests --- CHANGELOG.md | 4 ++++ tests/test_usage.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 902d5f9..4fa5ff4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Fixed +- Fixed old reference name in a test, which was causing builds to fail. + ## [0.2.2] - 2016-10-02 ### Fixed - Important fix. Setup.py was missing `include_package_data` flag. diff --git a/tests/test_usage.py b/tests/test_usage.py index 6008780..d851d97 100644 --- a/tests/test_usage.py +++ b/tests/test_usage.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- import hues -from hues import hue +from hues import huestr def test_sanity(): @@ -9,4 +9,4 @@ def test_sanity(): def test_usage(): - assert hue('unicorn').red.bg_black.colorized == '\033[31;40municorn\033[0m' + assert huestr('unicorn').red.bg_black.colorized == '\033[31;40municorn\033[0m'