Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9e2fe7

Browse files
committed
Relocate Embedded tests fixtures
Each test type should contain its own fixtures.Reduces weird dependency of each testing framework
1 parent3c69371 commita9e2fe7

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

‎src/embed_tests/pyimport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Python.EmbeddingTest
1010
/// </summary>
1111
/// <remarks>
1212
/// Keeping in old-style SetUp/TearDown due to required SetUp.
13-
/// The required directory structure was added to .\pythonnet\src\tests\ directory:
13+
/// The required directory structure was added to .\pythonnet\src\embed_tests\fixtures\ directory:
1414
/// + PyImportTest/
1515
/// | - __init__.py
1616
/// | + test/
@@ -30,7 +30,7 @@ public void SetUp()
3030
/* Append the tests directory to sys.path
3131
* using reflection to circumvent the private
3232
* modifiers placed on most Runtime methods. */
33-
conststrings="../../tests";
33+
conststrings="../fixtures";
3434
stringtestPath=Path.Combine(TestContext.CurrentContext.TestDirectory,s);
3535

3636
IntPtrstr=Runtime.Runtime.PyString_FromString(testPath);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp