Skip to content

Commit

Permalink
Install pre-release v1.2.7.dev4 as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Jul 17, 2023
1 parent d4c3491 commit a13c300
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion behave_django/management/commands/behave.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from importlib import import_module

from behave.__main__ import main as behave_main
from behave.configuration import options as behave_options
from behave.configuration import OPTIONS as behave_options
from django.core.management.base import BaseCommand

from behave_django.environment import monkey_patch_behave
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
beautifulsoup4
behave[toml]@git+http://github.com/behave/behave.git@v1.2.7.dev3 # behave>=1.2.7
behave[toml]@git+http://github.com/behave/behave.git@v1.2.7.dev4 # behave>=1.2.7
django>=3.2
4 changes: 2 additions & 2 deletions tests/unit/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ def test_command_import_dont_patch_behave_options(self):
reload(behave.configuration)
behave_options_backup = [
(first, second.copy())
for (first, second) in behave.configuration.options
for (first, second) in behave.configuration.OPTIONS
]

import behave_django.management.commands.behave
reload(behave_django.management.commands.behave)

assert behave.configuration.options == behave_options_backup
assert behave.configuration.OPTIONS == behave_options_backup

def test_conflicting_options_should_get_prefixed(self):
from behave_django.management.commands.behave import Command
Expand Down

0 comments on commit a13c300

Please sign in to comment.