Skip to content

Commit

Permalink
fixed execute docs. Fixes #20
Browse files Browse the repository at this point in the history
  • Loading branch information
dobe committed Aug 17, 2021
1 parent 4762eaa commit 9691915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ Execution in Docker Container
It's possible to execute a command inside one of the Docker containers. Use
the ``exec`` method of the ``docker_services`` fixture::

def test_exec(docker_services):
def test_execute(docker_services):
# the first argument is the service name of the compose file,
# the following arguments build the command to run
res = docker_services.exec('crate', 'ls', '-a')
res = docker_services.execute('crate', 'ls', '-a')


Wait for Service
Expand Down

0 comments on commit 9691915

Please sign in to comment.