Passed
Push — dev ( 3c73d5...40dcc8 )
by Konstantinos
01:24
created

data_test   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 7
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_datapoint() 0 3 1
1
import pytest
2
3
4
def test_datapoint(og_kush):
5
    assert og_kush.name == 'Og Kush'
6
    assert hasattr(og_kush, 'images')
7
8