Compare commits
2 Commits
6236265f1a
...
ef79734fac
Author | SHA1 | Date | |
---|---|---|---|
ef79734fac | |||
13ce0c4bac |
@ -25,7 +25,7 @@ jobs:
|
|||||||
path: ~/scwrypts
|
path: ~/scwrypts
|
||||||
- run: |
|
- run: |
|
||||||
: \
|
: \
|
||||||
&& pip install -e . \
|
&& pip install . .[test] \
|
||||||
&& pytest \
|
&& pytest \
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -64,11 +64,9 @@ afterEach(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('exact lookup', () => {
|
describe('exact lookup', () => {
|
||||||
let output;
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
sample.spy.getScwryptsLookup.mockReturnValue(sample.lookup.exact);
|
sample.spy.getScwryptsLookup.mockReturnValue(sample.lookup.exact);
|
||||||
|
await scwrypts(sample.options);
|
||||||
output = await scwrypts(sample.options);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('gets the correct lookup', () => {
|
test('gets the correct lookup', () => {
|
||||||
@ -98,7 +96,6 @@ describe('exact lookup', () => {
|
|||||||
describe('patterns lookup', () => {
|
describe('patterns lookup', () => {
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
sample.spy.getScwryptsLookup.mockReturnValue(sample.lookup.patterns);
|
sample.spy.getScwryptsLookup.mockReturnValue(sample.lookup.patterns);
|
||||||
|
|
||||||
await scwrypts(sample.options);
|
await scwrypts(sample.options);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user