Skip to content

Commit

Permalink
fix: Updated unit tests to match binary sample app manifest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhonathan Aristizabal committed Nov 3, 2023
1 parent 4189ae0 commit 582acd4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 56 deletions.
65 changes: 23 additions & 42 deletions tile_generator/test_config_expected_output.json
Original file line number Diff line number Diff line change
Expand Up @@ -723,33 +723,30 @@
{
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"files": [
{
"name": "binary-app.py",
"path": "src/binary-app/binary-app.py"
"name": "binary-app",
"path": "src/binary-app"
}
],
"is_app": true,
"is_cf": true,
"manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"name": "tg_test_binary_app",
"package-type": "app",
"properties": {
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -1176,9 +1173,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -1364,9 +1360,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -1587,9 +1582,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -1807,9 +1801,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -2002,9 +1995,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -2261,9 +2253,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -2437,9 +2428,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -2612,9 +2602,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -2805,33 +2794,30 @@
{
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"files": [
{
"name": "binary-app.py",
"path": "src/binary-app/binary-app.py"
"name": "binary-app",
"path": "src/binary-app"
}
],
"is_app": true,
"is_cf": true,
"manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"name": "tg_test_binary_app",
"package-type": "app",
"properties": {
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -3271,9 +3257,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -3459,9 +3444,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -3671,9 +3655,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -3891,9 +3874,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down Expand Up @@ -4086,9 +4068,8 @@
"tg_test_binary_app": {
"app_manifest": {
"buildpack": "binary_buildpack",
"command": "./binary-app.py",
"memory": "256M",
"path": "binary-app.py"
"path": "binary-app"
},
"auto_services": [],
"name": "tg_test_binary_app"
Expand Down
21 changes: 7 additions & 14 deletions tile_generator/test_metadata_expected_output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -765,9 +765,8 @@ job_types:
tg_test_binary_app:
app_manifest:
buildpack: binary_buildpack
command: ./binary-app.py
memory: 256M
path: binary-app.py
path: binary-app
auto_services: []
name: tg_test_binary_app
tg_test_broker1:
Expand Down Expand Up @@ -941,9 +940,8 @@ job_types:
tg_test_binary_app:
app_manifest:
buildpack: binary_buildpack
command: ./binary-app.py
memory: 256M
path: binary-app.py
path: binary-app
auto_services: []
name: tg_test_binary_app
tg_test_broker1:
Expand Down Expand Up @@ -1115,9 +1113,8 @@ job_types:
tg_test_binary_app:
app_manifest:
buildpack: binary_buildpack
command: ./binary-app.py
memory: 256M
path: binary-app.py
path: binary-app
auto_services: []
name: tg_test_binary_app
tg_test_broker1:
Expand Down Expand Up @@ -1282,9 +1279,8 @@ job_types:
tg_test_binary_app:
app_manifest:
buildpack: binary_buildpack
command: ./binary-app.py
memory: 256M
path: binary-app.py
path: binary-app
auto_services: []
name: tg_test_binary_app
tg_test_broker1:
Expand Down Expand Up @@ -1455,9 +1451,8 @@ job_types:
tg_test_binary_app:
app_manifest:
buildpack: binary_buildpack
command: ./binary-app.py
memory: 256M
path: binary-app.py
path: binary-app
auto_services: []
name: tg_test_binary_app
tg_test_broker1:
Expand Down Expand Up @@ -1633,9 +1628,8 @@ job_types:
tg_test_binary_app:
app_manifest:
buildpack: binary_buildpack
command: ./binary-app.py
memory: 256M
path: binary-app.py
path: binary-app
auto_services: []
name: tg_test_binary_app
tg_test_broker1:
Expand Down Expand Up @@ -1789,9 +1783,8 @@ job_types:
tg_test_binary_app:
app_manifest:
buildpack: binary_buildpack
command: ./binary-app.py
memory: 256M
path: binary-app.py
path: binary-app
auto_services: []
name: tg_test_binary_app
tg_test_broker1:
Expand Down

0 comments on commit 582acd4

Please sign in to comment.