Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d67e2ef

Browse files
committed
- Move test recipes into a cookbook called python_test
Updated .kitchen.yml to reflect the change Signed-off-by: Scott M. Likens <[email protected]>
1 parent 97da0b5 commit d67e2ef

File tree

6 files changed

+25
-2
lines changed

6 files changed

+25
-2
lines changed

.kitchen.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ suites:
4040
- name: exert
4141
run_list:
4242
- recipe[python]
43-
- recipe[python::test_exert]
43+
- recipe[python_test::test_exert]
4444
- name: virtualenv
4545
run_list:
4646
- recipe[python]
47-
- recipe[python::test_virtualenv]
47+
- recipe[python_test::test_virtualenv]

Berksfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ group :integration do
66
cookbook "apt"
77
cookbook "yum"
88
cookbook "build-essential"
9+
cookbook "python_test", :path => "./test/cookbooks/python_test"
910
end

test/cookbooks/python_test/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
python_test Cookbook
2+
====================
3+
4+
This cookbook tests the pip and virtualenv providers
5+
6+
Requirements
7+
------------
8+
9+
#### packages
10+
- `python` - Version *2.5* or higher
11+
12+
License and Authors
13+
-------------------
14+
Authors: Scott Likens <[email protected]>
15+
Sean Porter <[email protected]>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name 'python_test'
2+
maintainer 'Scott Likens'
3+
maintainer_email '[email protected]'
4+
license 'Apache 2.0'
5+
description 'Installs/Configures python_test'
6+
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7+
version '0.1.0'

0 commit comments

Comments
 (0)