Skip to content

[unittest] Do not use pytest fixture in test_buffer_render_template test#93

Closed
stephenxs wants to merge 3 commits intomasterfrom
fix-sonic-config-engine
Closed

[unittest] Do not use pytest fixture in test_buffer_render_template test#93
stephenxs wants to merge 3 commits intomasterfrom
fix-sonic-config-engine

Conversation

@stephenxs
Copy link
Owner

Why I did it

Do not use pytest fixture in the test since it is not compatible with unittest which is used by all of other testcases.

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it

Use function instead.

How to verify it

Run unit test of sonic-config-engine

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

Do not use pytest fixture in the test since it is not compatible with
unittest which is used by all of other testcases.

Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
@stephenxs
Copy link
Owner Author

ci 1124 passed except for a known issue. close it.

@stephenxs stephenxs closed this Dec 7, 2021
stephenxs pushed a commit that referenced this pull request Jul 15, 2022
swss:
* 665bbbb 2022-06-27 | Add support for IP interface loopback action (sonic-net#2307) (HEAD -> 202205, github/202205) [Lior Avramov]
* c7f5743 2022-06-28 | [asan] suppress the static variable leaks (sonic-net#2354) [Yakiv Huryk]
* 37e2a31 2022-06-28 | [tests] [asan] add graceful stop flag (sonic-net#2347) [Yakiv Huryk]
* 5ab84cf 2022-06-28 | [202205][cherry-pick] Fix mux_acl_rule adding issue (sonic-net#2358) [bingwang-ms]

linkmgrd:
* a836ef7 2022-06-28 | Use Vlan MAC as src MAC for link prober by default  (#93) (HEAD -> 202205) [Jing Zhang]
* a828e86 2022-06-28 | Fix inconsistent mux state (#92) (github/202205) [Longxiang Lyu]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
stephenxs pushed a commit that referenced this pull request Jul 16, 2023
a1830c1761087bdc1f7433ebbb8d0bdc419da0d3 (HEAD -> 201911, origin/master, origin/HEAD, origin/201911) Fix OpenAPI spec to be readable by autorest (#101)
94805a39ac0712219f7dc08faa2cfdbf371dd177 Identify and report Vnet GUID for conflicting VNI (#99)
4832dfd677de72edc44d4eb8c1b60cfad79a3355 Static route expiry if not specified as persistent  (#98)
5cc4358fb67b9e2a0da9a6691064e41f97ebebc2 (master) Add support for overlay ECMP (#96)
6822a46197daef060b4d00dba5153b04b163c43f [CI] Set diff cover threshold to 50% (#97)
dcc826a1503060b9a07e4510b4f48331c49e87dd Add PR diff coverage (#95)
e842c5ff317c67919dcbcab3358143cb9a16c9dd Generate code coverage for Unit Tests (#94)
f9bbed3cb86a3bab9a07745096835dbdbe5a4db6 Convert Unit Tests from unittest framework to pytest framework (#93)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
stephenxs pushed a commit that referenced this pull request Oct 9, 2024
…utomatically (sonic-net#20022)

#### Why I did it
src/sonic-host-services
```
* e21db16 - (HEAD -> master, origin/master, origin/HEAD) [BFD]Fix BFD blackout issue (#150) (26 hours ago) [Sudharsan Dhamal Gopalarathnam]
* 39834f2 - Password Hardening: Add support to disable expiration date (#93) (4 days ago) [davidpil2002]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stephenxs pushed a commit that referenced this pull request Aug 8, 2025
…ically (sonic-net#23472)

#### Why I did it
src/sonic-dash-ha
```
* 3d9b38f - (HEAD -> master, origin/master, origin/HEAD) Rename disable to disabled in ha_scope table (#93) (14 hours ago) [yue-fred-gao]
* 01f9bf5 - Add semgrep static analysis tool to find security vulnerabilities. (#90) (25 hours ago) [Mai Bui]
* 4121247 - Use vnet_name from DASH_HA_GLOBAL_CONFIG to create vnet route (#92) (30 hours ago) [yue-fred-gao]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants