This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| # Database | |
| db: | |
| image: mysql:5.7 | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| restart: always | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tkhara@tkhara-lenovo:~/envs/docker/backend_testing_wp$ ip a | |
| 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 | |
| link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
| inet 127.0.0.1/8 scope host lo | |
| valid_lft forever preferred_lft forever | |
| inet6 ::1/128 scope host | |
| valid_lft forever preferred_lft forever | |
| 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 | |
| link/ether 50:7b:9d:1d:f7:f7 brd ff:ff:ff:ff:ff:ff | |
| inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic noprefixroute enp2s0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| # Database | |
| db: | |
| image: mysql:5.7 | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| restart: always | |
| ports: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (venv_course_resources) tkhara@tkhara-lenovo:~/notes/testing/admas_kinfu/api_testing_py_course_material/automation_code/ssqaapitest$ pytest | |
| =========================================================================================================== test session starts =========================================================================================================== | |
| platform linux -- Python 3.8.5, pytest-5.4.2, py-1.9.0, pluggy-0.13.1 | |
| rootdir: /home/tkhara/notes/testing/admas_kinfu/api_testing_py_course_material/automation_code/ssqaapitest, inifile: pytest.ini | |
| plugins: html-2.1.1, metadata-1.10.0 | |
| collected 23 items | |
| tests/coupons/test_create_coupons_smoke.py::test_create_coupon_percent_discount_type[None] | |
| ------------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ============================= test session starts ============================== | |
| platform linux -- Python 3.8.5, pytest-6.1.1, py-1.9.0, pluggy-0.13.1 | |
| rootdir: /home/tkhara/notes/testing/admas_kinfu/project_dir | |
| plugins: metadata-1.10.0, html-2.1.1 | |
| collected 10 items / 7 deselected / 3 selected | |
| ssqaapitest/tests/customers/test_create_customers_smoke.py .. [ 66%] | |
| ssqaapitest/tests/customers/test_get_customers_smoke.py . [100%] | |
| =============================== warnings summary =============================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ============================= test session starts ============================== | |
| platform linux -- Python 3.8.5, pytest-6.1.1, py-1.9.0, pluggy-0.13.1 | |
| rootdir: /home/tkhara/notes/testing/admas_kinfu/project_dir/ssqaapitest, configfile: pytest.ini | |
| plugins: metadata-1.10.0, html-2.1.1 | |
| collected 4 items / 1 deselected / 3 selected | |
| tests/customers/test_create_customers_smoke.py::test_create_customer_only_email_password | |
| -------------------------------- live log call --------------------------------- | |
| INFO root:test_create_customers_smoke.py:14 TEST: Create new customer with email and password only. | |
| DEBUG root:generic_utility.py:7 Generating random email and password. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| travis_fold:start:worker_info | |
| [0K[33;1mWorker information[0m | |
| hostname: 89d40107-aecb-4cf6-92e3-33c7e1706136@1.worker-org-8b5957499-84ph6.gce-production-3 | |
| version: v6.2.17 https://github.com/travis-ci/worker/tree/bc420764f334fe0d096a417c80426f672f1b7d18 | |
| instance: travis-job-d2cd4c4d-1e96-4fad-86e6-6dec1d187dfe travis-ci-sardonyx-xenial-1593004276-4d46c6b3 (via amqp) | |
| startup: 6.04039686s | |
| travis_fold:end:worker_info | |
| [0Ktravis_time:start:00560988 | |
| [0Ktravis_time:end:00560988:start=1604038527856221413,finish=1604038528016537350,duration=160315937,event=no_world_writable_dirs | |
| [0Ktravis_time:start:18b816b7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| # Database | |
| db: | |
| image: mysql:5.7 | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| restart: always | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| return [ | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Served Name | |
| |-------------------------------------------------------------------------- | |
| | | |
| | This value will be used in naming your docker containers. | |
| | It is best to make sure that this value is unique for each project. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Import express | |
| let express = require('express') | |
| // Create an instance of it | |
| let ourApp = express() | |
| // Use third party requests library | |
| ourApp.use(express.urlencoded({extended: false})) | |
| // get function for root URL |