Skip to content

Commit

Permalink
Fix unit test and changelog after PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Jul 30, 2024
1 parent ed60bf5 commit b2a8d83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.22.2] - 2024-07-25
## [1.23.0] - 2024-07-25

### Fixed
### Changed

- Rust app: get target directory from cargo metadata (workspace compatible)

Expand Down
4 changes: 1 addition & 3 deletions tests/unit/utils/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ def test_find_application_ok_c(self):
def test_find_application_ok_rust(self):
device, sdk, appname = "device", "rust", "rustapp"
with temporary_directory() as dir_path:
os.chdir(dir_path)
cmd = ["cargo", "new", appname]
subprocess.check_output(cmd)
subprocess.check_output(cmd, cwd=dir_path)
app_path = dir_path / appname
os.chdir(app_path)
tmp_dir = (app_path / "target" / device / "release")
tmp_dir.mkdir(parents=True, exist_ok=True)
expected = tmp_dir / appname
Expand Down

0 comments on commit b2a8d83

Please sign in to comment.